Merge with stable
authorMatt Mackall <mpm@selenic.com>
Wed, 21 Jan 2009 14:14:56 -0600
changeset 7676 43cfbb21f04d
parent 7674 4d63b10a602e (current diff)
parent 7675 011e69b96c69 (diff)
child 7677 6a0bc2dc9da6
Merge with stable
mercurial/verify.py
--- 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: