~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to command_classes.py

  • Committer: Aaron Bentley
  • Date: 2009-01-05 13:47:08 UTC
  • Revision ID: aaron@aaronbentley.com-20090105134708-rjdi0e5osgww5f42
Clarify distinction between shelf1/shelf2 commands

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
    don't depend on each other.
200
200
 
201
201
    While you have patches on the shelf you can view and manipulate them with
202
 
    the 'shelf' command. Run 'bzr shelf -h' for more info.
 
202
    the 'shelf1' command. Run 'bzr shelf1 -h' for more info.
203
203
    """
204
204
 
205
 
    aliases = ['shelve']
206
205
    takes_args = ['file*']
207
206
    takes_options = [Option('message',
208
207
            help='A message to associate with the shelved changes.',
226
225
        return 0
227
226
 
228
227
 
229
 
# The following classes are only used as subcommands for 'shelf', they're
 
228
# The following classes are only used as subcommands for 'shelf1', they're
230
229
# not to be registered directly with bzr.
231
230
 
232
231
class cmd_shelf_list(bzrlib.commands.Command):
268
267
        self.shelf.upgrade()
269
268
 
270
269
 
271
 
class cmd_shelf(BzrToolsCommand):
 
270
class cmd_shelf1(BzrToolsCommand):
272
271
    """Perform various operations on your shelved patches. See also shelve1."""
273
272
    takes_args = ['subcommand', 'args*']
274
273
 
342
341
 
343
342
    See 'shelve1' for more information.
344
343
    """
345
 
    aliases = ['unshelve']
346
344
    takes_options = [
347
345
            Option('all', help='Unshelve all changes without prompting.'),
348
346
            Option('force', help='Force unshelving even if errors occur.'),