Having more than three phases (was RFC: Phase UI (revset, phase command and others))
gilles.moris at free.fr
Wed Jan 4 00:40:15 CST 2012
On Tuesday 03 January 2012 12:23:04 pm Pierre-Yves David wrote:
> > Why can’t phases move backwards, what is the reason for this design
> > choice? These two examples would be useful additions that I think
> > would otherwise fit snugly in the phases flow.
> Phase are synchronize in a very simple way: When a changeset is seens in
> two different phase, the minimal value is used (public < draft < secret).
> This behavior make it very simple to merge concurrent phase value. This
> remove the need to tracking history of phase movement and to make complexe
> processing of merge data.
> **During synchronization** phase move only forward. This is a key point of
> phase and ensure a simple a smoothy concept.
Ugly, but would trash phase = -1 made it ?
More information about the Mercurial-devel