~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-07-11 18:56:01 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060711185601-6e7f164148ed616d
Remove <BZRTOOLS> tag from command descriptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
 
29
29
class cmd_clean_tree(bzrlib.commands.Command):
30
 
    """Remove unwanted files from working tree.  <BZRTOOLS>
 
30
    """Remove unwanted files from working tree.
31
31
    Normally, ignored files are left alone.
32
32
    """
33
33
    takes_options = [Option('ignored', help='delete all ignored files.'), 
41
41
        clean_tree('.', ignored=ignored, detritus=detritus, dry_run=dry_run)
42
42
 
43
43
class cmd_graph_ancestry(bzrlib.commands.Command):
44
 
    """Produce ancestry graphs using dot.  <BZRTOOLS>
 
44
    """Produce ancestry graphs using dot.
45
45
    
46
46
    Output format is detected according to file extension.  Some of the more
47
47
    common output formats are html, png, gif, svg, ps.  An extension of '.dot'
93
93
                                  not no_antialias, merge_branch, ranking)
94
94
 
95
95
class cmd_fetch_ghosts(bzrlib.commands.Command):
96
 
    """Attempt to retrieve ghosts from another branch.  <BZRTOOLS>
 
96
    """Attempt to retrieve ghosts from another branch.
97
97
    If the other branch is not supplied, the last-pulled branch is used.
98
98
    """
99
99
    aliases = ['fetch-missing']
108
108
Option.OPTIONS['bzrdiff'] = Option('bzrdiff',type=None,
109
109
                                help="""Handle extra bzr tags""")
110
110
class cmd_patch(bzrlib.commands.Command):
111
 
    """Apply a named patch to the current tree.  <BZRTOOLS>
 
111
    """Apply a named patch to the current tree.
112
112
    """
113
113
    takes_args = ['filename?']
114
114
    takes_options = [Option('strip', type=int, help=strip_help)]
123
123
        return patch(wt, filename, strip, legacy= not bzrdiff)
124
124
 
125
125
class cmd_shelve(bzrlib.commands.Command):
126
 
    """Temporarily set aside some changes from the current tree.  <BZRTOOLS>
 
126
    """Temporarily set aside some changes from the current tree.
127
127
 
128
128
    Shelve allows you to temporarily put changes you've made "on the shelf",
129
129
    ie. out of the way, until a later time when you can bring them back from
272
272
 
273
273
 
274
274
class cmd_unshelve(bzrlib.commands.Command):
275
 
    """Restore shelved changes.  <BZRTOOLS>
 
275
    """Restore shelved changes.
276
276
 
277
277
    By default the most recently shelved changes are restored. However if you
278
278
    specify a patch by name those changes will be restored instead.
292
292
 
293
293
 
294
294
class cmd_shell(bzrlib.commands.Command):
295
 
    """Begin an interactive shell tailored for bzr.  <BZRTOOLS>
 
295
    """Begin an interactive shell tailored for bzr.
296
296
    Bzr commands can be used without typing bzr first, and will be run natively
297
297
    when possible.  Tab completion is tailored for bzr.  The shell prompt shows
298
298
    the branch nick, revno, and path.
315
315
 
316
316
class cmd_branch_history(bzrlib.commands.Command):
317
317
    """\
318
 
    Display the development history of a branch  <BZRTOOLS>.
 
318
    Display the development history of a branch.
319
319
 
320
320
    Each different committer or branch nick is considered a different line of
321
321
    development.  Committers are treated as the same if they have the same
329
329
 
330
330
class cmd_zap(bzrlib.commands.Command):
331
331
    """\
332
 
    Remove a lightweight checkout, if it can be done safely. <BZRTOOLS>
 
332
    Remove a lightweight checkout, if it can be done safely.
333
333
 
334
334
    This command will remove a lightweight checkout without losing data.  That
335
335
    means it only removes lightweight checkouts, and only if they have no
348
348
 
349
349
class cmd_cbranch(bzrlib.commands.Command):
350
350
    """
351
 
    Create a new checkout, associated with a new repository branch. <BZRTOOLS>
 
351
    Create a new checkout, associated with a new repository branch.
352
352
    
353
353
    When you cbranch, bzr looks up the repository associated with your current
354
354
    directory in branches.conf.  It creates a new branch in that repository
374
374
 
375
375
 
376
376
class cmd_branches(bzrlib.commands.Command):
377
 
    """Scan a location for branches <BZRTOOLS>"""
 
377
    """Scan a location for branches"""
378
378
    takes_args = ["location?"]
379
379
    def run(self, location=None):
380
380
        from branches import branches
382
382
 
383
383
 
384
384
class cmd_multi_pull(bzrlib.commands.Command):
385
 
    """Pull all the branches under a location, e.g. a repository. <BZRTOOLS>
 
385
    """Pull all the branches under a location, e.g. a repository.
386
386
    
387
387
    Both branches present in the directory and the branches of checkouts are
388
388
    pulled.
439
439
        branch_mark(mark, branch, delete)
440
440
 
441
441
class cmd_import(bzrlib.commands.Command):
442
 
    """Import sources from a tarball <BZRTOOLS>
 
442
    """Import sources from a tarball
443
443
    
444
444
    This command will import a tarball into a bzr tree, replacing any versioned
445
445
    files already present.  If a directory is specified, it is used as the
458
458
        do_import(source, tree)
459
459
 
460
460
class cmd_shove(bzrlib.commands.Command):
461
 
    """Apply uncommitted changes to another tree <BZRTOOLS>
 
461
    """Apply uncommitted changes to another tree
462
462
    
463
463
    This is useful when you start to make changes in one tree, then realize
464
464
    they should really be done in a different tree.
476
476
        do_shove(source, target)
477
477
 
478
478
class cmd_cdiff(bzrlib.commands.Command):
479
 
    """A color version of bzr's diff <BZRTOOLS>"""
 
479
    """A color version of bzr's diff"""
480
480
    takes_args = property(lambda x: get_cmd_object('diff').takes_args)
481
481
    takes_options = property(lambda x: get_cmd_object('diff').takes_options)
482
482
    def run(*args, **kwargs):
500
500
 
501
501
except NoPyBaz:
502
502
    class cmd_baz_import_branch(bzrlib.commands.Command):
503
 
        """Disabled. (Requires PyBaz)   <BZRTOOLS>"""
 
503
        """Disabled. (Requires PyBaz)"""
504
504
        takes_args = ['to_location?', 'from_branch?', 'reuse_history*']
505
505
        takes_options = ['verbose', Option('max-count', type=int)]
506
506
        def run(self, to_location=None, from_branch=None, fast=False, 
510
510
 
511
511
 
512
512
    class cmd_baz_import(bzrlib.commands.Command):
513
 
        """Disabled. (Requires PyBaz)   <BZRTOOLS>"""
 
513
        """Disabled. (Requires PyBaz)"""
514
514
        takes_args = ['to_root_dir?', 'from_archive?', 'reuse_history*']
515
515
        takes_options = ['verbose', Option('prefixes', type=str,
516
516
                         help="Prefixes of branches to import")]