Show More
@@ -53,6 +53,10 class basectx(object): | |||||
53 | def __ne__(self, other): |
|
53 | def __ne__(self, other): | |
54 | return not (self == other) |
|
54 | return not (self == other) | |
55 |
|
55 | |||
|
56 | @propertycache | |||
|
57 | def substate(self): | |||
|
58 | return subrepo.state(self, self._repo.ui) | |||
|
59 | ||||
56 | def rev(self): |
|
60 | def rev(self): | |
57 | return self._rev |
|
61 | return self._rev | |
58 | def node(self): |
|
62 | def node(self): | |
@@ -193,10 +197,6 class changectx(basectx): | |||||
193 | p = p[:-1] |
|
197 | p = p[:-1] | |
194 | return [changectx(self._repo, x) for x in p] |
|
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 | def __contains__(self, key): |
|
200 | def __contains__(self, key): | |
201 | return key in self._manifest |
|
201 | return key in self._manifest | |
202 |
|
202 |
General Comments 0
You need to be logged in to leave comments.
Login now