Show More
@@ -817,8 +817,8 b' def _dotransplant(ui, repo, *revs, **opt' | |||||
817 |
|
817 | |||
818 | sourcerepo = opts.get(b'source') |
|
818 | sourcerepo = opts.get(b'source') | |
819 | if sourcerepo: |
|
819 | if sourcerepo: | |
820 |
|
|
820 | path = urlutil.get_unique_pull_path_obj(b'transplant', ui, sourcerepo) | |
821 |
peer = hg.peer(repo, opts, |
|
821 | peer = hg.peer(repo, opts, path) | |
822 | heads = pycompat.maplist(peer.lookup, opts.get(b'branch', ())) |
|
822 | heads = pycompat.maplist(peer.lookup, opts.get(b'branch', ())) | |
823 | target = set(heads) |
|
823 | target = set(heads) | |
824 | for r in revs: |
|
824 | for r in revs: |
General Comments 0
You need to be logged in to leave comments.
Login now