[PATCH] add branches to compact cmdline style

Alexander Solovyov alexander at solovyov.net
Mon Dec 13 08:46:59 CST 2010


# HG changeset patch
# User Alexander Solovyov <alexander at solovyov.net>
# Date 1292251459 -3600
# Node ID 5855da91d384dee2ffd7161a9b740f7da317c309
# Parent  ece1c069ddd6b77b9f5bbf606eb7cc8175e52bd2
add branches to compact cmdline style

diff --git a/mercurial/templates/map-cmdline.compact b/mercurial/templates/map-cmdline.compact
--- a/mercurial/templates/map-cmdline.compact
+++ b/mercurial/templates/map-cmdline.compact
@@ -1,9 +1,10 @@
-changeset = '{rev}{tags}{parents}   {node|short}   {date|isodate}   {author|user}\n  {desc|firstline|strip}\n\n'
+changeset = '{rev}{tags}{branches}{parents}   {node|short}   {date|isodate}   {author|user}\n  {desc|firstline|strip}\n\n'
 changeset_quiet = '{rev}:{node|short}\n'
-changeset_verbose = '{rev}{tags}{parents}   {node|short}   {date|isodate}   {author}\n  {desc|strip}\n\n'
+changeset_verbose = '{rev}{tags}{branches}{parents}   {node|short}   {date|isodate}   {author}\n  {desc|strip}\n\n'
 start_tags = '['
 tag = '{tag},'
 last_tag = '{tag}]'
 start_parents = ':'
 parent = '{rev},'
 last_parent = '{rev}'
+branch = '#{branch}'


More information about the Mercurial-devel mailing list