189
187
takes_args = ['filename?']
190
188
takes_options = [Option('strip', type=int, help=strip_help)]
191
def run(self, filename=None, strip=-1, bzrdiff=0):
193
191
from bzrlib.workingtree import WorkingTree
194
192
wt = WorkingTree.open_containing('.')[0]
199
return patch(wt, filename, strip, legacy= not bzrdiff)
202
198
class cmd_shelve(bzrlib.commands.Command):