equal
deleted
inserted
replaced
732 repo = self._repo |
732 repo = self._repo |
733 cl = repo.unfiltered().changelog |
733 cl = repo.unfiltered().changelog |
734 mfl = repo.manifestlog |
734 mfl = repo.manifestlog |
735 # fetch the linkrev |
735 # fetch the linkrev |
736 lkr = self.linkrev() |
736 lkr = self.linkrev() |
|
737 if srcrev == lkr: |
|
738 return lkr |
737 # hack to reuse ancestor computation when searching for renames |
739 # hack to reuse ancestor computation when searching for renames |
738 memberanc = getattr(self, '_ancestrycontext', None) |
740 memberanc = getattr(self, '_ancestrycontext', None) |
739 iteranc = None |
741 iteranc = None |
740 if srcrev is None: |
742 if srcrev is None: |
741 # wctx case, used by workingfilectx during mergecopy |
743 # wctx case, used by workingfilectx during mergecopy |