##// END OF EJS Templates
commitablectx: fix the default phase...
marmoute -
r44415:bbcf78c4 default
parent child Browse files
Show More
@@ -1439,7 +1439,7 b' class committablectx(basectx):'
1439 return b
1439 return b
1440
1440
1441 def phase(self):
1441 def phase(self):
1442 phase = phases.draft # default phase to draft
1442 phase = phases.newcommitphase(self._repo.ui)
1443 for p in self.parents():
1443 for p in self.parents():
1444 phase = max(phase, p.phase())
1444 phase = max(phase, p.phase())
1445 return phase
1445 return phase
General Comments 0
You need to be logged in to leave comments. Login now