branch | stable |
changeset 17874 | 2ba70eec1cf0 |
parent 17320 | 0c3c65c0d3fc |
child 18082 | 40f0c0748cfc |
--- a/hgext/transplant.py Sat Sep 29 20:11:24 2012 +0900 +++ b/hgext/transplant.py Sat Jul 28 23:28:36 2012 +0200 @@ -605,7 +605,7 @@ sourcerepo = opts.get('source') if sourcerepo: - peer = hg.peer(ui, opts, ui.expandpath(sourcerepo)) + peer = hg.peer(repo, opts, ui.expandpath(sourcerepo)) branches = map(peer.lookup, opts.get('branch', ())) source, csets, cleanupfn = bundlerepo.getremotechanges(ui, repo, peer, onlyheads=branches, force=True)