comparison mercurial/phases.py @ 15696:0cb45fef99ba

phases: Add a third phase for secret changeset
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 18 Dec 2011 23:16:46 +0100
parents 1b9dcf2eb011
children 21eb048edc19
comparison
equal deleted inserted replaced
15695:1b9dcf2eb011 15696:0cb45fef99ba
97 97
98 import errno 98 import errno
99 from node import nullid, bin, hex, short 99 from node import nullid, bin, hex, short
100 from i18n import _ 100 from i18n import _
101 101
102 allphases = range(2) 102 allphases = range(3)
103 trackedphases = allphases[1:] 103 trackedphases = allphases[1:]
104 104
105 def readroots(repo): 105 def readroots(repo):
106 """Read phase roots from disk""" 106 """Read phase roots from disk"""
107 roots = [set() for i in allphases] 107 roots = [set() for i in allphases]