Show More
@@ -439,6 +439,10 b' class basefilectx(object):' | |||
|
439 | 439 | else: |
|
440 | 440 | return self._changectx.filenode(self._path) |
|
441 | 441 | |
|
442 | @propertycache | |
|
443 | def _filerev(self): | |
|
444 | return self._filelog.rev(self._filenode) | |
|
445 | ||
|
442 | 446 | class filectx(basefilectx): |
|
443 | 447 | """A filecontext object makes access to data related to a particular |
|
444 | 448 | filerevision convenient.""" |
@@ -489,10 +493,6 b' class filectx(basefilectx):' | |||
|
489 | 493 | return changectx(self._repo.unfiltered(), self._changeid) |
|
490 | 494 | |
|
491 | 495 | @propertycache |
|
492 | def _filerev(self): | |
|
493 | return self._filelog.rev(self._filenode) | |
|
494 | ||
|
495 | @propertycache | |
|
496 | 496 | def _repopath(self): |
|
497 | 497 | return self._path |
|
498 | 498 |
General Comments 0
You need to be logged in to leave comments.
Login now