##// END OF EJS Templates
Minor fixes to verify
mpm@selenic.com -
r145:fbce9fc5 default
parent child Browse files
Show More
@@ -431,7 +431,7 b' elif cmd == "verify":'
431 errors += 1
431 errors += 1
432 try:
432 try:
433 changes = repo.changelog.read(n)
433 changes = repo.changelog.read(n)
434 except Error, inst:
434 except Exception, inst:
435 ui.warn("unpacking changeset %s: %s\n" % (short(n), inst))
435 ui.warn("unpacking changeset %s: %s\n" % (short(n), inst))
436 errors += 1
436 errors += 1
437
437
@@ -508,8 +508,8 b' elif cmd == "verify":'
508 # verify contents
508 # verify contents
509 try:
509 try:
510 t = fl.read(n)
510 t = fl.read(n)
511 except Error, inst:
511 except Exception, inst:
512 ui.warn("unpacking file %s %s: %s\n" % (f, short(n), inst))
512 ui.warn("unpacking file %s %s: %s\n" % (f, hg.short(n), inst))
513 errors += 1
513 errors += 1
514
514
515 # verify parents
515 # verify parents
General Comments 0
You need to be logged in to leave comments. Login now