Mercurial > public > mercurial-scm > hg-stable
diff tests/test-command-template.t @ 24637:c1cb6523e968
templates-default: do not show description or summary if empty
changeset_printer shows description only if ctx.description().strip() is not
empty. The default template should do the same way.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 27 Mar 2015 22:12:53 +0900 |
parents | 6abce80e6cbf |
children | 515cd710df95 |
line wrap: on
line diff
--- a/tests/test-command-template.t Mon Apr 06 10:51:53 2015 -0700 +++ b/tests/test-command-template.t Fri Mar 27 22:12:53 2015 +0900 @@ -96,6 +96,10 @@ Default style is like normal output: + $ echo c >> c + $ hg add c + $ hg commit -qm ' ' + $ hg log > log.out $ hg log --style default > style.out $ cmp log.out style.out || diff -u log.out style.out @@ -135,6 +139,8 @@ $ mv $HGRCPATH-bak $HGRCPATH + $ hg --config extensions.strip= strip -q . + Revision with no copies (used to print a traceback): $ hg tip -v --template '\n'