RFC: Phase UI (revset, phase command and others)

Matt Mackall mpm at selenic.com
Thu Dec 29 14:11:40 CST 2011


On Tue, 2011-12-27 at 00:11 +0100, Pierre-Yves David wrote:
> The user will be informed of phase movement the same way changegroup addition
> are notified (check last line):
> 
>    % 22:31 marmoute at yamac ~/src/pylint > hg push
>    real URL is http://hg.logilab.org/pylint
>    pushing to http://hg.logilab.org/pylint
>    searching for changes
>    adding changesets
>    adding manifests
>    adding file changes
>    added 60 changesets with 173 changes to 314 files
>    90 changesets changed phases

Bleck. I already think we're too chatty here (especially with progress
enabled). And I generally don't want users who are not using phases
(because they're using rebase or mq today) to have to know or care about
them at all. If an existing user upgrades they shouldn't have to think
"wait what?? what is a phase? omg this dvcs crap is so complicated!"

> more verbose output may provide additional information:
> 
>    90 changesets changed phases
>    73 changesets moved to public phase
>    17 changesets moved to draft phase

I think having a one-line message with -v is fine.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list