changeset 47360 | 03dea8553114 |
parent 47359 | 5ed2aaab58b0 |
child 47361 | 0f4beb88ec18 |
--- a/mercurial/verify.py Tue Jun 01 08:54:53 2021 +0200 +++ b/mercurial/verify.py Tue Jun 01 08:58:53 2021 +0200 @@ -139,11 +139,10 @@ if f and len(linkrevs) > 1: try: # attempt to filter down to real linkrevs - linkrevs = [ - l - for l in linkrevs - if self.lrugetctx(l)[f].filenode() == node - ] + linkrevs = [] + for lr in linkrevs: + if self.lrugetctx(lr)[f].filenode() == node: + linkrevs.append(lr) except Exception: pass self._warn(