Show More
@@ -2830,8 +2830,8 b' def graft(ui, repo, *revs, **opts):' | |||
|
2830 | 2830 | |
|
2831 | 2831 | wlock = repo.wlock() |
|
2832 | 2832 | try: |
|
2833 | current = repo['.'] | |
|
2833 | 2834 | for pos, ctx in enumerate(repo.set("%ld", revs)): |
|
2834 | current = repo['.'] | |
|
2835 | 2835 | |
|
2836 | 2836 | ui.status(_('grafting revision %s\n') % ctx.rev()) |
|
2837 | 2837 | if opts.get('dry_run'): |
@@ -2883,6 +2883,8 b' def graft(ui, repo, *revs, **opts):' | |||
|
2883 | 2883 | date=date, extra=extra, editor=editor) |
|
2884 | 2884 | if node is None: |
|
2885 | 2885 | ui.status(_('graft for revision %s is empty\n') % ctx.rev()) |
|
2886 | else: | |
|
2887 | current = repo[node] | |
|
2886 | 2888 | finally: |
|
2887 | 2889 | wlock.release() |
|
2888 | 2890 |
General Comments 0
You need to be logged in to leave comments.
Login now