##// END OF EJS Templates
Fix two bugs in verify
mpm@selenic.com -
r93:0b0efe40 default
parent child Browse files
Show More
@@ -433,7 +433,7 b' elif cmd == "verify":'
433
433
434 try:
434 try:
435 m = repo.manifest.read(n)
435 m = repo.manifest.read(n)
436 except Error, inst:
436 except Exception, inst:
437 ui.warn("unpacking manifest %s: %s\n" % (hg.short(n), inst))
437 ui.warn("unpacking manifest %s: %s\n" % (hg.short(n), inst))
438 errors += 1
438 errors += 1
439
439
@@ -505,7 +505,7 b' elif cmd == "verify":'
505 (files, changesets, revisions))
505 (files, changesets, revisions))
506
506
507 if errors:
507 if errors:
508 ui.warn("%d integrity errors encountered!\n")
508 ui.warn("%d integrity errors encountered!\n" % errors)
509 sys.exit(1)
509 sys.exit(1)
510
510
511 else:
511 else:
General Comments 0
You need to be logged in to leave comments. Login now