Show More
@@ -703,7 +703,7 def _dotransplant(ui, repo, *revs, **opt | |||
|
703 | 703 | |
|
704 | 704 | tf = tp.transplantfilter(repo, source, p1) |
|
705 | 705 | if opts.get('prune'): |
|
706 |
prune = set(source. |
|
|
706 | prune = set(source[r].node() | |
|
707 | 707 | for r in scmutil.revrange(source, opts.get('prune'))) |
|
708 | 708 | matchfn = lambda x: tf(x) and x not in prune |
|
709 | 709 | else: |
@@ -712,7 +712,7 def _dotransplant(ui, repo, *revs, **opt | |||
|
712 | 712 | revmap = {} |
|
713 | 713 | if revs: |
|
714 | 714 | for r in scmutil.revrange(source, revs): |
|
715 |
revmap[int(r)] = source. |
|
|
715 | revmap[int(r)] = source[r].node() | |
|
716 | 716 | elif opts.get('all') or not merges: |
|
717 | 717 | if source != repo: |
|
718 | 718 | alltransplants = incwalk(source, csets, match=matchfn) |
General Comments 0
You need to be logged in to leave comments.
Login now