Show More
@@ -489,6 +489,8 b' class basefilectx(object):' | |||||
489 | return self._changeid |
|
489 | return self._changeid | |
490 | def linkrev(self): |
|
490 | def linkrev(self): | |
491 | return self._filelog.linkrev(self._filerev) |
|
491 | return self._filelog.linkrev(self._filerev) | |
|
492 | def node(self): | |||
|
493 | return self._changectx.node() | |||
492 |
|
494 | |||
493 | class filectx(basefilectx): |
|
495 | class filectx(basefilectx): | |
494 | """A filecontext object makes access to data related to a particular |
|
496 | """A filecontext object makes access to data related to a particular | |
@@ -545,8 +547,6 b' class filectx(basefilectx):' | |||||
545 | return filectx(self._repo, self._path, fileid=fileid, |
|
547 | return filectx(self._repo, self._path, fileid=fileid, | |
546 | filelog=self._filelog) |
|
548 | filelog=self._filelog) | |
547 |
|
549 | |||
548 | def node(self): |
|
|||
549 | return self._changectx.node() |
|
|||
550 | def hex(self): |
|
550 | def hex(self): | |
551 | return hex(self.node()) |
|
551 | return hex(self.node()) | |
552 | def user(self): |
|
552 | def user(self): |
General Comments 0
You need to be logged in to leave comments.
Login now