subrepo: drop the '_ui' member in the subrepo subclasses
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 13 Dec 2014 15:13:07 -0500
changeset 23571 9626120e017b
parent 23570 3f86fe9bcef0
child 23572 40e62fbd7356
subrepo: drop the '_ui' member in the subrepo subclasses This member has existed in the base class since fcbc66b5da6a.
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Tue Dec 09 09:35:04 2014 -0500
+++ b/mercurial/subrepo.py	Sat Dec 13 15:13:07 2014 -0500
@@ -901,7 +901,6 @@
         self._path = path
         self._state = state
         self._ctx = ctx
-        self._ui = ctx._repo.ui
         self._exe = util.findexe('svn')
         if not self._exe:
             raise util.Abort(_("'svn' executable not found for subrepo '%s'")
@@ -1135,7 +1134,6 @@
         self._relpath = os.path.join(reporelpath(ctx._repo), path)
         self._abspath = ctx._repo.wjoin(path)
         self._subparent = ctx._repo
-        self._ui = ctx._repo.ui
         self._ensuregit()
 
     def _ensuregit(self):