~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fetch_ghosts.py

  • Committer: Adeodato Simó
  • Date: 2006-07-01 21:26:27 UTC
  • mto: This revision was merged to the branch mainline in revision 409.
  • Revision ID: dato@net.com.org.es-20060701212627-cff8927ffb4af78e
Get command objects via get_cmd_object(), instead of directly importing
them from bzrlib.builtins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        this_branch.unlock()
64
64
 
65
65
    if not no_fix and len(installed) > 0:
66
 
        from bzrlib.builtins import cmd_reconcile
67
 
        cmd_reconcile().run(".")
 
66
        from bzrlib.commands import get_cmd_object
 
67
        get_cmd_object('reconcile').run(".")
68
68
        
69
69
def iter_ghosts(branch):
70
70
    """Find all ancestors that aren't stored in this branch."""