equal
deleted
inserted
replaced
560 def _filelog(self): |
560 def _filelog(self): |
561 return self._repo.file(self._path) |
561 return self._repo.file(self._path) |
562 |
562 |
563 @propertycache |
563 @propertycache |
564 def _changeid(self): |
564 def _changeid(self): |
565 if r'_changeid' in self.__dict__: |
565 if r'_changectx' in self.__dict__: |
566 return self._changeid |
|
567 elif r'_changectx' in self.__dict__: |
|
568 return self._changectx.rev() |
566 return self._changectx.rev() |
569 elif r'_descendantrev' in self.__dict__: |
567 elif r'_descendantrev' in self.__dict__: |
570 # this file context was created from a revision with a known |
568 # this file context was created from a revision with a known |
571 # descendant, we can (lazily) correct for linkrev aliases |
569 # descendant, we can (lazily) correct for linkrev aliases |
572 return self._adjustlinkrev(self._descendantrev) |
570 return self._adjustlinkrev(self._descendantrev) |