[PATCH 3 of 6 phases] phases: Add a third phase for secret changeset
pierre-yves.david at logilab.fr
pierre-yves.david at logilab.fr
Mon Dec 19 04:46:49 CST 2011
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1324246606 -3600
# Node ID 7a37eac5baeed15dd884cc972caa546945b3bf9d
# Parent 56a49ab7aa0310f126f6b8eea2c4d1dbc28bc7ab
phases: Add a third phase for secret changeset
diff --git a/mercurial/phases.py b/mercurial/phases.py
--- a/mercurial/phases.py
+++ b/mercurial/phases.py
@@ -97,11 +97,11 @@ Note: old client behave as publish serve
import errno
from node import nullid, bin, hex, short
from i18n import _
-allphases = range(2)
+allphases = range(3)
trackedphases = allphases[1:]
def readroots(repo):
"""Read phase roots from disk"""
roots = [set() for i in allphases]
More information about the Mercurial-devel
mailing list