##// END OF EJS Templates
basectx: move substate from changectx
Sean Farley -
r19549:78155484 default
parent child Browse files
Show More
@@ -53,6 +53,10 class basectx(object):
53 53 def __ne__(self, other):
54 54 return not (self == other)
55 55
56 @propertycache
57 def substate(self):
58 return subrepo.state(self, self._repo.ui)
59
56 60 def rev(self):
57 61 return self._rev
58 62 def node(self):
@@ -193,10 +197,6 class changectx(basectx):
193 197 p = p[:-1]
194 198 return [changectx(self._repo, x) for x in p]
195 199
196 @propertycache
197 def substate(self):
198 return subrepo.state(self, self._repo.ui)
199
200 200 def __contains__(self, key):
201 201 return key in self._manifest
202 202
General Comments 0
You need to be logged in to leave comments. Login now