##// END OF EJS Templates
path: pass `path` to `peer` in `hg transplant`...
marmoute -
r50624:acf4be97 default
parent child Browse files
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 u = urlutil.get_unique_pull_path(b'transplant', repo, ui, sourcerepo)[0]
820 path = urlutil.get_unique_pull_path_obj(b'transplant', ui, sourcerepo)
821 peer = hg.peer(repo, opts, u)
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