Show More
@@ -2553,8 +2553,9 b' def graft(ui, repo, *revs, **opts):' | |||||
2553 | n = ctx.extra().get('source') |
|
2553 | n = ctx.extra().get('source') | |
2554 | if n and n in repo: |
|
2554 | if n and n in repo: | |
2555 | r = repo[n].rev() |
|
2555 | r = repo[n].rev() | |
2556 | ui.warn(_('skipping already grafted revision %s\n') % r) |
|
2556 | if r in revs: | |
2557 | revs.remove(r) |
|
2557 | ui.warn(_('skipping already grafted revision %s\n') % r) | |
|
2558 | revs.remove(r) | |||
2558 | if not revs: |
|
2559 | if not revs: | |
2559 | return -1 |
|
2560 | return -1 | |
2560 |
|
2561 |
General Comments 0
You need to be logged in to leave comments.
Login now