mercurial/context.py
changeset 43963 bbcf78c4ff90
parent 43787 be8552f25cab
child 44009 e685fac56693
--- a/mercurial/context.py	Wed Dec 18 14:07:58 2019 -0800
+++ b/mercurial/context.py	Fri Dec 27 16:47:47 2019 +0100
@@ -1439,7 +1439,7 @@
         return b
 
     def phase(self):
-        phase = phases.draft  # default phase to draft
+        phase = phases.newcommitphase(self._repo.ui)
         for p in self.parents():
             phase = max(phase, p.phase())
         return phase