##// END OF EJS Templates
phases: implement ``phase()`` and ``hidden()`` method for workingctx...
Pierre-Yves David -
r15707:dc3eefe0 default
parent child Browse files
Show More
@@ -805,6 +805,15 b' class workingctx(changectx):'
805 b.extend(p.bookmarks())
805 b.extend(p.bookmarks())
806 return b
806 return b
807
807
808 def phase(self):
809 phase = 1 # default phase to draft
810 for p in self.parents():
811 phase = max(phase, p.phase())
812 return phase
813
814 def hidden(self):
815 return False
816
808 def children(self):
817 def children(self):
809 return []
818 return []
810
819
General Comments 0
You need to be logged in to leave comments. Login now