Mercurial > hg
diff tests/test-phases.t @ 22765:55dcc7fb731c
log: do not hide the public phase in debug mode (BC)
When 51fc43253a52 introduced phases to the `hg log --debug` output, it
also disabled outputting public phase. At the same time, it always
shows phases in the default template, `hg log --debug -T default`.
Those two should produce the same output, but they don't.
I think it makes a lot more sense to always show all phases. There's
already loss of backwards compatibility in this case when using a
newer hg on an old hg repo, since draft commits will show up in the
output of `hg log --debug`.
Finally, I just don't think that any sort of information should be
hidden with --debug. This flag should be about showing as much
information as possible.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Sat, 04 Oct 2014 16:28:28 -0400 |
parents | 7731a2281cf0 |
children | fab9dda0f2a3 |
line wrap: on
line diff
--- a/tests/test-phases.t Fri Oct 03 22:03:31 2014 -0400 +++ b/tests/test-phases.t Sat Oct 04 16:28:28 2014 -0400 @@ -340,6 +340,7 @@ changeset: 1:27547f69f25460a52fff66ad004e58da7ad3fb56 + phase: public parent: 0:4a2df7238c3b48766b5e22fafbb8a2f506ec8256 parent: -1:0000000000000000000000000000000000000000 manifest: 1:cb5cbbc1bfbf24cc34b9e8c16914e9caa2d2a7fd @@ -352,6 +353,7 @@ changeset: 0:4a2df7238c3b48766b5e22fafbb8a2f506ec8256 + phase: public parent: -1:0000000000000000000000000000000000000000 parent: -1:0000000000000000000000000000000000000000 manifest: 0:007d8c9d88841325f5c6b06371b35b4e8a2b1a83