mercurial/repair.py
changeset 35707 54074a82e050
parent 35706 5748f404dad3
child 35778 128dd940bedc
--- a/mercurial/repair.py	Sun Jan 14 23:37:06 2018 -0800
+++ b/mercurial/repair.py	Sun Jan 14 14:39:17 2018 -0800
@@ -203,8 +203,8 @@
 
             deleteobsmarkers(repo.obsstore, stripobsidx)
             del repo.obsstore
+            repo._phasecache.filterunknown(repo)
 
-        repo._phasecache.filterunknown(repo)
         if tmpbundlefile:
             ui.note(_("adding branch\n"))
             f = vfs.open(tmpbundlefile, "rb")