[PATCH 4 of 5] templates: add a default template style for status

Matt Mackall mpm at selenic.com
Wed Jun 10 18:09:48 CDT 2015


# HG changeset patch
# User Matt Mackall <mpm at selenic.com>
# Date 1433964905 18000
#      Wed Jun 10 14:35:05 2015 -0500
# Node ID dfd4ad8ad468bbff6f39251ae50373b293ca4d0f
# Parent  82d8c52373f2f06112c902aaf307c58143bbf32e
templates: add a default template style for status

Color doesn't work yet, so no labels here.

diff -r 82d8c52373f2 -r dfd4ad8ad468 mercurial/templates/map-cmdline.default
--- a/mercurial/templates/map-cmdline.default	Wed Jun 10 14:33:38 2015 -0500
+++ b/mercurial/templates/map-cmdline.default	Wed Jun 10 14:35:05 2015 -0500
@@ -71,3 +71,5 @@
                                        'description:')}
                                 {label('ui.note log.description',
                                        '{desc|strip}')}\n\n")}'
+
+status = '{status} {path}\n{if(copy, "  {copy}\n")}'


More information about the Mercurial-devel mailing list