##// END OF EJS Templates
transplant: use context ancestor instead of changelog ancestor...
Mads Kiilerich -
r20988:8c2f1e2a default
parent child Browse files
Show More
@@ -568,8 +568,9 b' def transplant(ui, repo, *revs, **opts):'
568 568 if not heads:
569 569 heads = repo.heads()
570 570 ancestors = []
571 ctx = repo[dest]
571 572 for head in heads:
572 ancestors.append(repo.changelog.ancestor(dest, head))
573 ancestors.append(ctx.ancestor(repo[head]).node())
573 574 for node in repo.changelog.nodesbetween(ancestors, heads)[0]:
574 575 if match(node):
575 576 yield node
General Comments 0
You need to be logged in to leave comments. Login now