##// END OF EJS Templates
hg patch: fix to actually take a list of patches
mpm@selenic.com -
r294:f8d56da6 default
parent child Browse files
Show More
@@ -362,13 +362,15 b' def parents(ui, repo, node = None):'
362 if n != hg.nullid:
362 if n != hg.nullid:
363 ui.write("%d:%s\n" % (repo.changelog.rev(n), hg.hex(n)))
363 ui.write("%d:%s\n" % (repo.changelog.rev(n), hg.hex(n)))
364
364
365 def patch(ui, repo, patches, **opts):
365 def patch(ui, repo, patch1, *patches, **opts):
366 """import an ordered set of patches"""
366 """import an ordered set of patches"""
367 try:
367 try:
368 import psyco
368 import psyco
369 psyco.full()
369 psyco.full()
370 except:
370 except:
371 pass
371 pass
372
373 patches = patch1 + patches
372
374
373 d = opts["base"]
375 d = opts["base"]
374 strip = opts["strip"]
376 strip = opts["strip"]
General Comments 0
You need to be logged in to leave comments. Login now