[PATCH 1 of 1] subrepo: subrepo isolation, pass baseui when cloning a new subrepo

Simon Heimberg simohe at besonet.ch
Thu Oct 4 22:34:24 CDT 2012


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1349407672 -7200
# Node ID 7cf1ee91b9b0b5adf3b08990002f9b985bdacb5a
# Parent  fc862b19833c328754849f14625bb740104ee670
subrepo: subrepo isolation, pass baseui when cloning a new subrepo

diff -r fc862b19833c -r 7cf1ee91b9b0 mercurial/subrepo.py
--- a/mercurial/subrepo.py	Don Okt 04 19:46:43 2012 +0200
+++ b/mercurial/subrepo.py	Fre Okt 05 05:27:52 2012 +0200
@@ -503,7 +503,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()


More information about the Mercurial-devel mailing list