~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-10-07 16:00:48 UTC
  • Revision ID: abentley@panoramicfeedback.com-20051007160048-0b21cda18524618a
Renamed fetch-missing to fetch-ghosts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
        graph.write_ancestry_file(branch, file, not no_collapse, 
70
70
                                  not no_antialias, merge_branch, ranking)
71
71
 
72
 
class cmd_fetch_missing(bzrlib.commands.Command):
73
 
    """Attempt to retrieve missing ancestors from another branch.
 
72
class cmd_fetch_ghosts(bzrlib.commands.Command):
 
73
    """Attempt to retrieve ghosts from another branch.
74
74
    If the other branch is not supplied, the last-pulled branch is used.
75
75
    """
 
76
    aliases = ['fetch-missing']
76
77
    takes_args = ['branch?']
77
78
    def run(self, branch=None):
78
 
        from fetch_missing import fetch_missing
79
 
        fetch_missing(branch)
 
79
        from fetch_ghosts import fetch_ghosts
 
80
        fetch_ghosts(branch)
80
81
 
81
82
class cmd_patch(bzrlib.commands.Command):
82
83
    """Apply a named patch to the current tree.
93
94
 
94
95
commands = [push.cmd_push, annotate.cmd_annotate, shelf.cmd_shelve, 
95
96
            shelf.cmd_unshelve, cmd_clean_tree, cmd_graph_ancestry,
96
 
            cmd_fetch_missing, cmd_patch]
 
97
            cmd_fetch_ghosts, cmd_patch]
97
98
from errors import NoPyBaz
98
99
try:
99
100
    import baz_import