From patchwork Mon Dec 15 01:12:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1,of,9] subrepo: drop the '_ui' member in the subrepo subclasses From: Matt Harbison X-Patchwork-Id: 7102 Message-Id: <80e3b20d537f390a9c39.1418605958@Envy> To: mercurial-devel@selenic.com Cc: matt_harbison@yahoo.com Date: Sun, 14 Dec 2014 20:12:38 -0500 # HG changeset patch # User Matt Harbison # Date 1418501587 18000 # Sat Dec 13 15:13:07 2014 -0500 # Node ID 80e3b20d537f390a9c39bcba5b4cfe035b386a14 # Parent 495bc1b65d25872324a0220354f048b220304bd1 subrepo: drop the '_ui' member in the subrepo subclasses This member has existed in the base class since fcbc66b5da6a. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -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):