branch | stable |
changeset 17876 | f4ee2e959696 |
parent 17874 | 2ba70eec1cf0 |
child 17895 | 17c030014ddf |
--- a/mercurial/subrepo.py Thu Oct 04 19:46:43 2012 +0200 +++ b/mercurial/subrepo.py Wed Oct 10 01:18:06 2012 +0200 @@ -507,7 +507,7 @@ % (subrelpath(self), srcurl)) parentrepo = self._repo._subparent shutil.rmtree(self._repo.path) - other, cloned = hg.clone(self._repo._subparent.ui, {}, + other, cloned = hg.clone(self._repo._subparent.baseui, {}, other, self._repo.root, update=False) self._repo = cloned.local()