mercurial/subrepo.py
changeset 23573 3fec2a3c768b
parent 23572 40e62fbd7356
child 23574 faa3d6af154e
--- a/mercurial/subrepo.py	Sat Dec 13 15:19:38 2014 -0500
+++ b/mercurial/subrepo.py	Sat Dec 13 20:43:01 2014 -0500
@@ -523,6 +523,7 @@
         root = r.wjoin(path)
         create = not r.wvfs.exists('%s/.hg' % path)
         self._repo = hg.repository(r.baseui, root, create=create)
+        self.ui = self._repo.ui
         for s, k in [('ui', 'commitsubrepos')]:
             v = r.ui.config(s, k)
             if v: