Mercurial > hg-stable
changeset 19549:78155484ae34
basectx: move substate from changectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 17:21:23 -0500 |
parents | 730fdcaa791d |
children | 0c8ad779eb36 |
files | mercurial/context.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Mon Aug 05 17:00:32 2013 -0500 +++ b/mercurial/context.py Mon Aug 05 17:21:23 2013 -0500 @@ -53,6 +53,10 @@ def __ne__(self, other): return not (self == other) + @propertycache + def substate(self): + return subrepo.state(self, self._repo.ui) + def rev(self): return self._rev def node(self): @@ -193,10 +197,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - @propertycache - def substate(self): - return subrepo.state(self, self._repo.ui) - def __contains__(self, key): return key in self._manifest