[PATCH 1 of 1 phases] changeset_printer: display changeset phase on debug level

Matt Mackall mpm at selenic.com
Tue Jan 17 14:06:30 CST 2012


On Tue, 2012-01-17 at 20:16 +0100, Pierre-Yves David wrote:
> On 17 janv. 2012, at 20:11, Matt Mackall wrote:
> 
> > On Tue, 2012-01-17 at 19:03 +0100, pierre-yves.david at logilab.fr wrote:
> >> # HG changeset patch
> >> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> >> # Date 1326823201 -3600
> >> # Node ID 25e98ee59cefbd7fbaa5b5f9184d5326380bc072
> >> # Parent  476a981fdf341f5bedbd958ca6c8e930fe35b5f9
> >> changeset_printer: display changeset phase on debug level
> > 
> > I don't think we should show public phases by default, much like we
> > don't show default branch.
> 
> Wouldn't people expect debug to print as much as possible ?

Yes and no. I really don't expect anything about commits from 2006 to
change in log just because I've added a new concept to Mercurial in
2012. Which is why we made the default branch = no branch[1]. Similarly,
public phase is "the way things were in 2006".

[1] Though notably, someone lost track of this identity and started
adding fake data to the extra hash in changelog.read() that now leaks
out into log --debug via the extra: field.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list