summaryrefslogtreecommitdiff
path: root/mercurial/verify.py
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/verify.py')
-rw-r--r--mercurial/verify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mercurial/verify.py b/mercurial/verify.py
index eb31faf..3e53862 100644
--- a/mercurial/verify.py
+++ b/mercurial/verify.py
@@ -87,7 +87,7 @@ def _verify(repo):
# attempt to filter down to real linkrevs
linkrevs = [l for l in linkrevs
if lrugetctx(l)[f].filenode() == node]
- except Exception:
+ except:
pass
warn(_(" (expected %s)") % " ".join(map(str, linkrevs)))
lr = None # can't be trusted
@@ -189,7 +189,7 @@ def _verify(repo):
try:
fl = repo.file(f)
lr = min([fl.linkrev(fl.rev(n)) for n in filenodes[f]])
- except Exception:
+ except:
lr = None
err(lr, _("in manifest but not in changeset"), f)