/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-02 22:47:22 UTC
  • mto: This revision was merged to the branch mainline in revision 6654.
  • Revision ID: jelmer@jelmer.uk-20170602224722-bxi5cs29o0swu8v6
Bundle the fetch-ghosts command as hidden command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6711
6711
        do_import(source, tree)
6712
6712
 
6713
6713
 
 
6714
class cmd_fetch_ghosts(Command):
 
6715
    __doc__ = """Attempt to retrieve ghosts from another branch.
 
6716
    If the other branch is not supplied, the last-pulled branch is used.
 
6717
    """
 
6718
 
 
6719
    hidden = True
 
6720
    aliases = ['fetch-missing']
 
6721
    takes_args = ['branch?']
 
6722
    takes_options = [Option('no-fix', help="Skip additional synchonization.")]
 
6723
 
 
6724
    def run(self, branch=None, no_fix=False):
 
6725
        from .fetch_ghosts import fetch_ghosts
 
6726
        fetch_ghosts(branch, do_reconcile=not no_fix)
 
6727
 
 
6728
 
6714
6729
def _register_lazy_builtins():
6715
6730
    # register lazy builtins from other modules; called at startup and should
6716
6731
    # be only called once.