[PATCH 13 of 14 clfilter part 1 V2] clfilter: verify logic should be unfiltered

pierre-yves.david at logilab.fr pierre-yves.david at logilab.fr
Mon Nov 26 12:34:46 CST 2012


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1349708932 -7200
# Node ID d4cdb72a234b043e5f4d9eed40bca1a25fd9dc4b
# Parent  99ed5405c3b656efdd37446a31e55c775ca56f1c
clfilter: verify logic should be unfiltered

To verify a changelog obviously mean all of it. The verify logic ensures it
works on an unfiltered repository.

diff --git a/mercurial/verify.py b/mercurial/verify.py
--- a/mercurial/verify.py
+++ b/mercurial/verify.py
@@ -23,10 +23,11 @@ def _normpath(f):
     while '//' in f:
         f = f.replace('//', '/')
     return f
 
 def _verify(repo):
+    repo = repo.unfiltered()
     mflinkrevs = {}
     filelinkrevs = {}
     filenodes = {}
     revisions = 0
     badrevs = set()


More information about the Mercurial-devel mailing list