diff --git a/mercurial/context.py b/mercurial/context.py index 6136704b975df292819647ba8ac46209487fbc46_bWVyY3VyaWFsL2NvbnRleHQucHk=..dd01834a696f5e141933f80640ae0eea148ff42c_bWVyY3VyaWFsL2NvbnRleHQucHk= 100644 --- a/mercurial/context.py +++ b/mercurial/context.py @@ -913,6 +913,8 @@ introrev = self.introrev() if self.rev() != introrev: base = self.filectx(self.filenode(), changeid=introrev) + ac = self._repo.changelog.ancestors([introrev], inclusive=True) + base._ancestrycontext = ac # This algorithm would prefer to be recursive, but Python is a # bit recursion-hostile. Instead we do an iterative