# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1429899434 14400 # Node ID 515cd710df95743054b1eea489e8186af75187ee # Parent df0ce98c882fbab298ae61ad2ed03a8d175c2568 test-command-template: add a short description of a temporary snippet This snippet was introduced by c1cb6523e968. Its purpose seems a bit obscure without historical context. diff -r df0ce98c882f -r 515cd710df95 tests/test-command-template.t --- a/tests/test-command-template.t Thu Apr 23 16:36:18 2015 +0100 +++ b/tests/test-command-template.t Fri Apr 24 14:17:14 2015 -0400 @@ -94,12 +94,15 @@ $ hg log -l1 --style default -T '{rev}\n' 8 -Default style is like normal output: +Add a commit with empty description, to ensure that the templates +following below omit it properly. $ echo c >> c $ hg add c $ hg commit -qm ' ' +Default style is like normal output. + $ hg log > log.out $ hg log --style default > style.out $ cmp log.out style.out || diff -u log.out style.out @@ -139,6 +142,9 @@ $ mv $HGRCPATH-bak $HGRCPATH +Remove commit with empty commit message, so as to not pollute further +tests. + $ hg --config extensions.strip= strip -q . Revision with no copies (used to print a traceback):