# HG changeset patch # User mpm@selenic.com # Date 2005-05-25 04:29:38 # Node ID fbce9fc531d207e326be5f55940c5f1f7cc95291 # Parent ea9188538222ac5764a31564004f880f6040c188 Minor fixes to verify diff --git a/hg b/hg --- a/hg +++ b/hg @@ -431,7 +431,7 @@ elif cmd == "verify": 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 @@ elif cmd == "verify": # 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