# HG changeset patch # User mpm@selenic.com # Date 2005-05-18 23:24:18 # Node ID 0b0efe409d794cc263ba1b7933763df3eb23a6e5 # Parent e6fc7ff522463b8a7dfb5ce00291cbac85e604d6 Fix two bugs in verify diff --git a/hg b/hg --- a/hg +++ b/hg @@ -433,7 +433,7 @@ elif cmd == "verify": try: m = repo.manifest.read(n) - except Error, inst: + except Exception, inst: ui.warn("unpacking manifest %s: %s\n" % (hg.short(n), inst)) errors += 1 @@ -505,7 +505,7 @@ elif cmd == "verify": (files, changesets, revisions)) if errors: - ui.warn("%d integrity errors encountered!\n") + ui.warn("%d integrity errors encountered!\n" % errors) sys.exit(1) else: