Show More
@@ -38,6 +38,9 b' class basectx(object):' | |||||
38 | def __str__(self): |
|
38 | def __str__(self): | |
39 | return short(self.node()) |
|
39 | return short(self.node()) | |
40 |
|
40 | |||
|
41 | def rev(self): | |||
|
42 | return self._rev | |||
|
43 | ||||
41 | class changectx(basectx): |
|
44 | class changectx(basectx): | |
42 | """A changecontext object makes access to data related to a particular |
|
45 | """A changecontext object makes access to data related to a particular | |
43 | changeset convenient. It represents a read-only context already presnt in |
|
46 | changeset convenient. It represents a read-only context already presnt in | |
@@ -207,8 +210,6 b' class changectx(basectx):' | |||||
207 | def manifestnode(self): |
|
210 | def manifestnode(self): | |
208 | return self._changeset[0] |
|
211 | return self._changeset[0] | |
209 |
|
212 | |||
210 | def rev(self): |
|
|||
211 | return self._rev |
|
|||
212 | def node(self): |
|
213 | def node(self): | |
213 | return self._node |
|
214 | return self._node | |
214 | def hex(self): |
|
215 | def hex(self): |
General Comments 0
You need to be logged in to leave comments.
Login now