Some initial impressions of phases

Laurens Holst laurens.nospam at grauw.nl
Tue Jan 24 03:53:46 CST 2012


Op 23-01-12 23:03, Matt Mackall schreef:
>> Point 9.
>>
>> The phase of the changeset when it differs from public is not reported by default.
>> [salt:.../MacHgClone14] MacHgClone14 972(972) $ rhg log --rev 968:tip
> http://mercurial.selenic.com/wiki/CompatibilityRules#Commands (see what
> it says about log in particular).
>
> For now, if you need this information (and most users do not, by
> design), then you can do 'hg log --debug' or 'hg log -r "not public()"'.

Would it not be acceptable as long as it sticks to the “key: 
information” pattern? Given that all the other lines look like this as 
well, parsers would probably either just match on the key prefix or 
stick this in a hash table, so it would be relatively safe to add a line.

I seem to recall that at one point this argumentation was used for 
adding a line to log or summary? Don’t remember exactly what for though.

~Laurens


More information about the Mercurial-devel mailing list