Having more than three phases (was RFC: Phase UI (revset, phase command and others))

Laurens Holst laurens.nospam at grauw.nl
Tue Jan 3 05:01:45 CST 2012


Op 03-01-12 10:38, Pierre-Yves David schreef:
> Phase are not suitable for:
>
>    Implementing a trash phase to mark deleted changeset: phase are designed to
>    move a given direction (old phase>  new phase) and moving changeset from
>    draft or secret phase to a trash one will break this rule.
>
>    Tracking complex review work flow: Review work flow usually implies moving
>    back and forth between "waiting for review" and "work in progress" phase
>    which again does not fit with the way phase move.

I don’t want to stir up a done discussion (link?), but:

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.

There are already commands that will move the phase backwards (mq), and 
also the user can do this manually.

~Laurens


More information about the Mercurial-devel mailing list