mercurial/subrepo.py
branchstable
changeset 18520 751135cca13c
parent 18510 f254ab6207ae
child 18851 a60963c02f92
--- a/mercurial/subrepo.py	Thu Jan 31 19:13:13 2013 +0100
+++ b/mercurial/subrepo.py	Thu Jan 31 01:44:29 2013 +0100
@@ -423,6 +423,7 @@
             v = r.ui.config(s, k)
             if v:
                 self._repo.ui.setconfig(s, k, v)
+        self._repo.ui.setconfig('ui', '_usedassubrepo', 'True')
         self._initrepo(r, state[0], create)
 
     @annotatesubrepoerror