Show More
@@ -47,6 +47,7 b' from mercurial import (' | |||||
47 | from mercurial.utils import ( |
|
47 | from mercurial.utils import ( | |
48 | procutil, |
|
48 | procutil, | |
49 | stringutil, |
|
49 | stringutil, | |
|
50 | urlutil, | |||
50 | ) |
|
51 | ) | |
51 |
|
52 | |||
52 |
|
53 | |||
@@ -818,7 +819,8 b' def _dotransplant(ui, repo, *revs, **opt' | |||||
818 |
|
819 | |||
819 | sourcerepo = opts.get(b'source') |
|
820 | sourcerepo = opts.get(b'source') | |
820 | if sourcerepo: |
|
821 | if sourcerepo: | |
821 | peer = hg.peer(repo, opts, ui.expandpath(sourcerepo)) |
|
822 | u = urlutil.get_unique_pull_path(b'transplant', repo, ui, sourcerepo)[0] | |
|
823 | peer = hg.peer(repo, opts, u) | |||
822 | heads = pycompat.maplist(peer.lookup, opts.get(b'branch', ())) |
|
824 | heads = pycompat.maplist(peer.lookup, opts.get(b'branch', ())) | |
823 | target = set(heads) |
|
825 | target = set(heads) | |
824 | for r in revs: |
|
826 | for r in revs: |
General Comments 0
You need to be logged in to leave comments.
Login now