##// END OF EJS Templates
annotate: reuse ancestry context when adjusting linkrev (issue4532)...
Pierre-Yves David -
r24407:dd01834a stable
parent child Browse files
Show More
@@ -913,6 +913,8 b' class basefilectx(object):'
913 introrev = self.introrev()
913 introrev = self.introrev()
914 if self.rev() != introrev:
914 if self.rev() != introrev:
915 base = self.filectx(self.filenode(), changeid=introrev)
915 base = self.filectx(self.filenode(), changeid=introrev)
916 ac = self._repo.changelog.ancestors([introrev], inclusive=True)
917 base._ancestrycontext = ac
916
918
917 # This algorithm would prefer to be recursive, but Python is a
919 # This algorithm would prefer to be recursive, but Python is a
918 # bit recursion-hostile. Instead we do an iterative
920 # bit recursion-hostile. Instead we do an iterative
General Comments 0
You need to be logged in to leave comments. Login now