equal
deleted
inserted
replaced
631 def _changeid(self): |
631 def _changeid(self): |
632 if '_changeid' in self.__dict__: |
632 if '_changeid' in self.__dict__: |
633 return self._changeid |
633 return self._changeid |
634 elif '_changectx' in self.__dict__: |
634 elif '_changectx' in self.__dict__: |
635 return self._changectx.rev() |
635 return self._changectx.rev() |
|
636 elif '_descendantrev' in self.__dict__: |
|
637 # this file context was created from a revision with a known |
|
638 # descendant, we can (lazily) correct for linkrev aliases |
|
639 return self._adjustlinkrev(self._path, self._filelog, |
|
640 self._filenode, self._descendantrev) |
636 else: |
641 else: |
637 return self._filelog.linkrev(self._filerev) |
642 return self._filelog.linkrev(self._filerev) |
638 |
643 |
639 @propertycache |
644 @propertycache |
640 def _filenode(self): |
645 def _filenode(self): |