comparison tests/test-globalopts.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 bde49bbfb30f
children 3bd577a3283e
comparison
equal deleted inserted replaced
22764:1e2f54a149e8 22765:55dcc7fb731c
232 Testing --debug: 232 Testing --debug:
233 233
234 $ hg --cwd c log --debug 234 $ hg --cwd c log --debug
235 changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a 235 changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a
236 tag: tip 236 tag: tip
237 phase: public
237 parent: -1:0000000000000000000000000000000000000000 238 parent: -1:0000000000000000000000000000000000000000
238 parent: -1:0000000000000000000000000000000000000000 239 parent: -1:0000000000000000000000000000000000000000
239 manifest: 1:23226e7a252cacdc2d99e4fbdc3653441056de49 240 manifest: 1:23226e7a252cacdc2d99e4fbdc3653441056de49
240 user: test 241 user: test
241 date: Thu Jan 01 00:00:01 1970 +0000 242 date: Thu Jan 01 00:00:01 1970 +0000
244 description: 245 description:
245 b 246 b
246 247
247 248
248 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab 249 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
250 phase: public
249 parent: -1:0000000000000000000000000000000000000000 251 parent: -1:0000000000000000000000000000000000000000
250 parent: -1:0000000000000000000000000000000000000000 252 parent: -1:0000000000000000000000000000000000000000
251 manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0 253 manifest: 0:a0c8bcbbb45c63b90b70ad007bf38961f64f2af0
252 user: test 254 user: test
253 date: Thu Jan 01 00:00:01 1970 +0000 255 date: Thu Jan 01 00:00:01 1970 +0000