~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2008-10-17 15:10:31 UTC
  • Revision ID: aaron@aaronbentley.com-20081017151031-v9ygg3lvr31evpof
Rename shelve/unshelve to shelve1/unshelve1, alias to old names

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
        return patch(wt, filename, strip, silent)
180
180
 
181
181
 
182
 
class cmd_shelve(BzrToolsCommand):
 
182
class cmd_shelve1(BzrToolsCommand):
183
183
    """Temporarily set aside some changes from the current tree.
184
184
 
185
185
    Shelve allows you to temporarily put changes you've made "on the shelf",
209
209
    the 'shelf' command. Run 'bzr shelf -h' for more info.
210
210
    """
211
211
 
 
212
    aliases = ['shelve']
212
213
    takes_args = ['file*']
213
214
    takes_options = [Option('message',
214
215
            help='A message to associate with the shelved changes.',
340
341
        return text
341
342
 
342
343
 
343
 
class cmd_unshelve(BzrToolsCommand):
 
344
class cmd_unshelve1(BzrToolsCommand):
344
345
    """Restore shelved changes.
345
346
 
346
347
    By default the most recently shelved changes are restored. However if you
348
349
 
349
350
    See 'shelve' for more information.
350
351
    """
 
352
    aliases = ['unshelve']
351
353
    takes_options = [
352
354
            Option('all', help='Unshelve all changes without prompting.'),
353
355
            Option('force', help='Force unshelving even if errors occur.'),
609
611
            cmd_rspush,
610
612
            cmd_shelf,
611
613
            cmd_shell,
612
 
            cmd_shelve,
 
614
            cmd_shelve1,
613
615
            cmd_trees,
614
 
            cmd_unshelve,
 
616
            cmd_unshelve1,
615
617
            cmd_zap,
616
618
            ]
617
619