Submitter | phabricator |
---|---|
Date | June 1, 2021, 9:53 a.m. |
Message ID | <differential-rev-PHID-DREV-axjy7rpic6siozsntpvn-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49126/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -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(