changeset 7676:43cfbb21f04d

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Wed, 21 Jan 2009 14:14:56 -0600
parents 4d63b10a602e (current diff) 011e69b96c69 (diff)
children 6a0bc2dc9da6
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: