[PATCH 2 of 7 phases V2] phases: rename moveboundary into advance boundary

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Nov 10 17:26:05 CST 2011


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1320883755 -3600
# Node ID 15f7a40ad734fcc192941bf2901c30b177d8d9f1
# Parent  81f0b3828a94019e1b51142ec71cc2d6977298fc
phases: rename moveboundary into advance boundary

This rename prepare the creation of retract boundaru that move boundary backward

diff --git a/mercurial/phases.py b/mercurial/phases.py
--- a/mercurial/phases.py
+++ b/mercurial/phases.py
@@ -58,7 +58,7 @@
             nodes.symmetric_difference_update(missing)
             repo._dirtyphases = True
 
-def moveboundary(repo, targetphase, nodes):
+def advanceboundary(repo, targetphase, nodes):
     """Add nodes to a phase changing other nodes phases if necessary.
 
     Simplify boundary to contains phase roots only."""


More information about the Mercurial-devel mailing list