17
18
takes_options = ['all', 'message', 'revision']
18
19
def run(self, all=False, file_list=None, message=None, revision=None):
20
25
if revision is not None and revision:
29
return s.shelve(all_hunks=all, message=message, file_list=file_list,
33
return s.shelve(all, message, revision, file_list)
32
35
class cmd_unshelve(bzrlib.commands.Command):
33
36
"""Restore previously-shelved changes to the current tree.
40
43
bzrlib.commands.register_command(cmd_shelve)