Patchwork [6,of,6] log: show phase in hg log -v with the phase template

login
register
mail settings
Submitter Jordi Gutiérrez Hermoso
Date Oct. 5, 2014, 1:05 a.m.
Message ID <66e41ea9ede99cbb1bd3.1412471155@Iris>
Download mbox | patch
Permalink /patch/6125/
State Accepted
Commit 66bf251ee67244905c45d18cae1ea16b3de2a87b
Headers show

Comments

Jordi Gutiérrez Hermoso - Oct. 5, 2014, 1:05 a.m.
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh@octave.org>
# Date 1412459579 14400
#      Sat Oct 04 17:52:59 2014 -0400
# Node ID 66e41ea9ede99cbb1bd3bb265c72b104658fa675
# Parent  0ca9afeee507dace5a2d784ee794f718468d1dc8
log: show phase in hg log -v with the phase template

It seems weird that `hg log -v -T phases` would be *less* verbose than
`hg log -T phases`. This cset corrects that oversight.
Matt Mackall - Oct. 6, 2014, 7:09 p.m.
On Sat, 2014-10-04 at 21:05 -0400, Jordi Gutiérrez Hermoso wrote:
> # HG changeset patch
> # User Jordi Gutiérrez Hermoso <jordigh@octave.org>
> # Date 1412459579 14400
> #      Sat Oct 04 17:52:59 2014 -0400
> # Node ID 66e41ea9ede99cbb1bd3bb265c72b104658fa675
> # Parent  0ca9afeee507dace5a2d784ee794f718468d1dc8
> log: show phase in hg log -v with the phase template

These are queued for default, thanks.

Patch

diff --git a/mercurial/templates/map-cmdline.phases b/mercurial/templates/map-cmdline.phases
--- a/mercurial/templates/map-cmdline.phases
+++ b/mercurial/templates/map-cmdline.phases
@@ -2,7 +2,7 @@ 
 # to replace some keywords with 'lkeyword', for 'labelled keyword'
 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
 changeset_quiet = '{node}'
-changeset_verbose = '{cset}{branches}{bookmarks}{tags}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'
+changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'
 changeset_debug = '{fullcset}{branches}{bookmarks}{tags}{lphase}{parents}{manifest}{user}{ldate}{lfile_mods}{lfile_adds}{lfile_dels}{lfile_copies_switch}{extras}{description}\n'
 
 # File templates