##// END OF EJS Templates
context: drop a redundant fast path in introrev...
Boris Feld -
r40081:6ed53b19 default
parent child Browse files
Show More
@@ -776,10 +776,9 b' class basefilectx(object):'
776 'linkrev-shadowing' when a file revision is used by multiple
776 'linkrev-shadowing' when a file revision is used by multiple
777 changesets.
777 changesets.
778 """
778 """
779 lkr = self.linkrev()
780 attrs = vars(self)
779 attrs = vars(self)
781 noctx = not (r'_changeid' in attrs or r'_changectx' in attrs)
780 noctx = not (r'_changeid' in attrs or r'_changectx' in attrs)
782 if noctx or self.rev() == lkr:
781 if noctx:
783 return self.linkrev()
782 return self.linkrev()
784 return self._adjustlinkrev(self.rev(), inclusive=True)
783 return self._adjustlinkrev(self.rev(), inclusive=True)
785
784
General Comments 0
You need to be logged in to leave comments. Login now