188
188
"""Apply a named patch to the current tree.
190
190
takes_args = ['filename?']
191
takes_options = [Option('strip', type=int, help=strip_help),
193
def run(self, filename=None, strip=None, silent=False):
194
195
from bzrlib.workingtree import WorkingTree
195
196
wt = WorkingTree.open_containing('.')[0]
199
return patch(wt, filename, strip, silent)
201
202
class cmd_shelve(bzrlib.commands.Command):