[PATCH 7 of 8 filtering] clfilter: verify logic should be unfiltered

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Nov 20 18:11:39 CST 2012


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1349708932 -7200
# Node ID e9e2afef76eb13d72d6d8376d078ffa19bdf089d
# Parent  a415ae75c7a165436d99733fa42d666ffb5954c4
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