mercurial/verify.py
changeset 7676 43cfbb21f04d
parent 7622 4dd7b28003d2
parent 7675 011e69b96c69
child 7832 1fce19b9b011
--- a/mercurial/verify.py	Mon Jan 19 17:00:23 2009 -0600
+++ b/mercurial/verify.py	Wed Jan 21 14:14:56 2009 -0600
@@ -197,7 +197,7 @@
                 t = fl.read(n)
                 rp = fl.renamed(n)
                 if len(t) != fl.size(i):
-                    if not fl._readmeta(n): # ancient copy?
+                    if len(fl.revision(n)) != fl.size(i):
                         err(lr, _("unpacked size is %s, %s expected") %
                             (len(t), fl.size(i)), f)
             except Exception, inst: