mercurial/subrepo.py
changeset 24409 30b8db6d0c04
parent 24302 6e092ea2eff1
child 24413 a8595176dd64
--- a/mercurial/subrepo.py	Thu Mar 19 21:26:18 2015 -0700
+++ b/mercurial/subrepo.py	Wed Mar 18 22:56:41 2015 -0400
@@ -519,6 +519,7 @@
         super(hgsubrepo, self).__init__(ctx.repo().ui)
         self._path = path
         self._state = state
+        self._ctx = ctx
         r = ctx.repo()
         root = r.wjoin(path)
         create = not r.wvfs.exists('%s/.hg' % path)