diff -r 1f3acc30bdfe -r c2d9ef43ff6c mercurial/repair.py --- a/mercurial/repair.py Sun May 13 13:17:50 2012 +0200 +++ b/mercurial/repair.py Sun May 13 13:18:06 2012 +0200 @@ -131,7 +131,7 @@ file, troffset, ignore = tr.entries[i] repo.sopener(file, 'a').truncate(troffset) tr.close() - except: + except: # re-raises tr.abort() raise @@ -160,7 +160,7 @@ for m in updatebm: bm[m] = repo['.'].node() bookmarks.write(repo) - except: + except: # re-raises if backupfile: ui.warn(_("strip failed, full bundle stored in '%s'\n") % backupfile)