--- a/mercurial/repair.py Mon Jan 16 01:21:30 2012 -0600
+++ b/mercurial/repair.py Wed Jan 18 14:50:17 2012 +0100
@@ -145,9 +145,6 @@
for m in updatebm:
bm[m] = repo['.'].node()
bookmarks.write(repo)
- # remove potential unknown phase
- # XXX using to_strip data would be faster
- phases.filterunknown(repo)
except:
if backupfile:
ui.warn(_("strip failed, full bundle stored in '%s'\n")
@@ -158,3 +155,7 @@
raise
repo.destroyed()
+
+ # remove potential unknown phase
+ # XXX using to_strip data would be faster
+ phases.filterunknown(repo)