annotate mercurial/templates/map-cmdline.phases @ 26312:60558319ce72

ui: avoid mutable default arguments I almost introduced a bug around this code by accidentally mutating a default argument. There's no reason for these to exist. It is OK to not assign {} to environ in ui.system because util.system knows how to deal with that.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 22 Sep 2015 16:56:34 -0700
parents 9570587b6986
children f4aeb952ab77
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24907
9570587b6986 template-phases: extend default style instead of duplicating it
Yuya Nishihara <yuya@tcha.org>
parents: 24853
diff changeset
1 %include map-cmdline.default
22767
9579034d9eb2 log: add labels to the phase template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 19126
diff changeset
2 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
22768
66bf251ee672 log: show phase in hg log -v with the phase template
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 22767
diff changeset
3 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'