~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-03-22 15:19:16 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060322151916-75711de1522d1f68
Tagged BZRTOOLS commands to reduce confusion

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        help='show files to delete instead of deleting them.')
32
32
 
33
33
class cmd_clean_tree(bzrlib.commands.Command):
34
 
    """Remove unwanted files from working tree.
 
34
    """Remove unwanted files from working tree.  <BZRTOOLS>
35
35
    Normally, ignored files are left alone.
36
36
    """
37
37
    takes_options = ['ignored', 'detritus', 'dry-run']
42
42
Option.OPTIONS['merge-branch'] = Option('merge-branch',type=str)
43
43
 
44
44
class cmd_graph_ancestry(bzrlib.commands.Command):
45
 
    """Produce ancestry graphs using dot.
 
45
    """Produce ancestry graphs using dot.  <BZRTOOLS>
46
46
    
47
47
    Output format is detected according to file extension.  Some of the more
48
48
    common output formats are html, png, gif, svg, ps.  An extension of '.dot'
94
94
                                  not no_antialias, merge_branch, ranking)
95
95
 
96
96
class cmd_fetch_ghosts(bzrlib.commands.Command):
97
 
    """Attempt to retrieve ghosts from another branch.
 
97
    """Attempt to retrieve ghosts from another branch.  <BZRTOOLS>
98
98
    If the other branch is not supplied, the last-pulled branch is used.
99
99
    """
100
100
    aliases = ['fetch-missing']
110
110
Option.OPTIONS['bzrdiff'] = Option('bzrdiff',type=None,
111
111
                                help="""Handle extra bzr tags""")
112
112
class cmd_patch(bzrlib.commands.Command):
113
 
    """Apply a named patch to the current tree.
 
113
    """Apply a named patch to the current tree.  <BZRTOOLS>
114
114
    """
115
115
    takes_args = ['filename?']
116
116
    takes_options = ['strip','bzrdiff']
125
125
        return patch(wt, filename, strip, legacy= not bzrdiff)
126
126
 
127
127
class cmd_shelve(bzrlib.commands.Command):
128
 
    """Temporarily set aside some changes from the current tree.
 
128
    """Temporarily set aside some changes from the current tree.  <BZRTOOLS>
129
129
 
130
130
    Shelve allows you to temporarily put changes you've made "on the shelf",
131
131
    ie. out of the way, until a later time when you can bring them back from
213
213
 
214
214
 
215
215
class cmd_unshelve(bzrlib.commands.Command):
216
 
    """Restore the most recently shelved changes to the current tree.
 
216
    """Restore the most recently shelved changes to current tree.  <BZRTOOLS>
217
217
    See 'shelve' for more information.
218
218
    """
219
219
    takes_options = [
228
228
 
229
229
 
230
230
class cmd_shell(bzrlib.commands.Command):
231
 
    """Begin an interactive shell tailored for bzr.
 
231
    """Begin an interactive shell tailored for bzr.  <BZRTOOLS>
232
232
    Bzr commands can be used without typing bzr first, and will be run natively
233
233
    when possible.  Tab completion is tailored for bzr.  The shell prompt shows
234
234
    the branch nick, revno, and path.
251
251
 
252
252
class cmd_branch_history(bzrlib.commands.Command):
253
253
    """\
254
 
    Display the revision history with reference to lines of development.
 
254
    Display the development history of a branch  <BZRTOOLS>.
255
255
 
256
256
    Each different committer or branch nick is considered a different line of
257
257
    development.  Committers are treated as the same if they have the same
284
284
 
285
285
except NoPyBaz:
286
286
    class cmd_baz_import_branch(bzrlib.commands.Command):
287
 
        """Disabled. (Requires PyBaz)"""
 
287
        """Disabled. (Requires PyBaz)   <BZRTOOLS>"""
288
288
        takes_args = ['to_location?', 'from_branch?', 'reuse_history*']
289
289
        takes_options = ['verbose', Option('max-count', type=int)]
290
290
        def run(self, to_location=None, from_branch=None, fast=False, 
294
294
 
295
295
 
296
296
    class cmd_baz_import(bzrlib.commands.Command):
297
 
        """Disabled. (Requires PyBaz)"""
 
297
        """Disabled. (Requires PyBaz)   <BZRTOOLS>"""
298
298
        takes_args = ['to_root_dir?', 'from_archive?', 'reuse_history*']
299
299
        takes_options = ['verbose', Option('prefixes', type=str,
300
300
                         help="Prefixes of branches to import")]