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