equal
deleted
inserted
replaced
360 |
360 |
361 for n in p: |
361 for n in p: |
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"] |
375 quiet = opts["quiet"] and "> /dev/null" or "" |
377 quiet = opts["quiet"] and "> /dev/null" or "" |
376 |
378 |