# HG changeset patch # User Henrik Stuart # Date 1326894617 -3600 # Node ID 73c4b3d0c711103413e11178b8e912f571ed1a84 # Parent 476a981fdf341f5bedbd958ca6c8e930fe35b5f9 repair: move phases code after invalidation code diff --git a/mercurial/repair.py b/mercurial/repair.py --- a/mercurial/repair.py +++ b/mercurial/repair.py @@ -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)