changeset 145:fbce9fc531d2

Minor fixes to verify
author mpm@selenic.com
date Tue, 24 May 2005 20:29:38 -0800
parents ea9188538222
children 4a828422247d
files hg
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hg	Mon May 23 22:14:41 2005 -0800
+++ b/hg	Tue May 24 20:29:38 2005 -0800
@@ -431,7 +431,7 @@
                 errors += 1
         try:
             changes = repo.changelog.read(n)
-        except Error, inst:
+        except Exception, inst:
             ui.warn("unpacking changeset %s: %s\n" % (short(n), inst))
             errors += 1
             
@@ -508,8 +508,8 @@
             # verify contents
             try:
                 t = fl.read(n)
-            except Error, inst:
-                ui.warn("unpacking file %s %s: %s\n" % (f, short(n), inst))
+            except Exception, inst:
+                ui.warn("unpacking file %s %s: %s\n" % (f, hg.short(n), inst))
                 errors += 1
             
             # verify parents