Mercurial > hg
changeset 24319:6ff513495a8b
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 16 Mar 2015 13:41:45 -0500 |
parents | 8d55286fe5e2 (current diff) 6136704b975d (diff) |
children | b9f7f3eeb99c |
files | tests/test-command-template.t |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/map-cmdline.default Mon Mar 16 13:32:28 2015 -0500 +++ b/mercurial/templates/map-cmdline.default Mon Mar 16 13:41:45 2015 -0500 @@ -1,7 +1,7 @@ # Base templates. Due to name clashes with existing keywords, we have # to replace some keywords with 'lkeyword', for 'labelled keyword' changeset = '{cset}{branches}{bookmarks}{tags}{parents}{user}{ldate}{summary}\n' -changeset_quiet = '{node}' +changeset_quiet = '{lnode}' changeset_verbose = '{cset}{branches}{bookmarks}{tags}{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' @@ -40,7 +40,7 @@ parent = '{label("log.parent changeset.{phase}", "parent: {rev}:{node|formatnode}")}\n' -node = '{label("log.node", +lnode = '{label("log.node", "{rev}:{node|short}")}\n' manifest = '{label("ui.debug log.manifest",
--- a/tests/test-command-template.t Mon Mar 16 13:32:28 2015 -0500 +++ b/tests/test-command-template.t Mon Mar 16 13:41:45 2015 -0500 @@ -104,6 +104,10 @@ $ hg log -v --style default > style.out $ cmp log.out style.out || diff -u log.out style.out + $ hg log -q > log.out + $ hg log -q --style default > style.out + $ cmp log.out style.out || diff -u log.out style.out + $ hg log --debug > log.out $ hg log --debug --style default > style.out $ cmp log.out style.out || diff -u log.out style.out @@ -122,6 +126,9 @@ $ hg --color=debug -v log > log.out $ hg --color=debug -v log --style default > style.out $ cmp log.out style.out || diff -u log.out style.out + $ hg --color=debug -q log > log.out + $ hg --color=debug -q log --style default > style.out + $ cmp log.out style.out || diff -u log.out style.out $ hg --color=debug --debug log > log.out $ hg --color=debug --debug log --style default > style.out $ cmp log.out style.out || diff -u log.out style.out