Mercurial > hg
changeset 3459:0600d326d96a
Adjust default cmdline style to really match verbose/debug log.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 18 Oct 2006 12:17:02 +0200 |
parents | 6e998a4575c6 |
children | 10b6fc51f672 |
files | templates/map-cmdline.default tests/test-command-template tests/test-command-template.out |
diffstat | 3 files changed, 11 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/map-cmdline.default Wed Oct 18 11:55:32 2006 +0200 +++ b/templates/map-cmdline.default Wed Oct 18 12:17:02 2006 +0200 @@ -1,6 +1,10 @@ changeset = 'changeset: {rev}:{node|short}\n{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' changeset_quiet = '{rev}:{node|short}\n' -changeset_verbose = 'changeset: {rev}:{node}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\nfiles: {files}\n{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' +changeset_verbose = 'changeset: {rev}:{node|short}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' +changeset_debug = 'changeset: {rev}:{node}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' +start_files = 'files: ' +file = ' {file}' +end_files = '\n' start_file_adds = 'files+: ' file_add = ' {file_add}' end_file_adds = '\n'
--- a/tests/test-command-template Wed Oct 18 11:55:32 2006 +0200 +++ b/tests/test-command-template Wed Oct 18 12:17:02 2006 +0200 @@ -24,12 +24,15 @@ echo 'style =' >> .hg/hgrc echo '# default style is like normal output' +echo '# normal' hg log > log.out hg log --style default > style.out diff log.out style.out +echo '# verbose' hg log -v > log.out hg log -v --style default > style.out diff log.out style.out +echo '# debug' hg log --debug > log.out hg log --debug --style default > style.out diff log.out style.out
--- a/tests/test-command-template.out Wed Oct 18 11:55:32 2006 +0200 +++ b/tests/test-command-template.out Wed Oct 18 12:17:02 2006 +0200 @@ -1,26 +1,7 @@ # default style is like normal output -1c1 -< changeset: 3:10e46f2dcbf4 ---- -> changeset: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 -10c10 -< changeset: 2:97054abb4ab8 ---- -> changeset: 2:97054abb4ab824450e9164180baf491ae0078465 -18c18 -< changeset: 1:b608e9d1a3f0 ---- -> changeset: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 -29c29 -< changeset: 0:1e4e1b8f71e0 ---- -> changeset: 0:1e4e1b8f71e05681d422154f5421e385fec3454f -18a19 -> files: -29a31 -> files: -43a46 -> files: +# normal +# verbose +# debug # compact style works 3[tip] 10e46f2dcbf4 1970-01-16 01:06 +0000 person no user, no domain