# HG changeset patch # User Christian Ebert # Date 1191592172 -7200 # Node ID 7b7e5858d8cd03e355368b7459c388ab8a1eaae8 # Parent c4f37735be9baa0f17fff18821ae76ff6048bdd5 Test if debug flag influences expansion diff -r c4f37735be9b -r 7b7e5858d8cd tests/test-keyword --- a/tests/test-keyword Fri Oct 05 14:52:39 2007 +0200 +++ b/tests/test-keyword Fri Oct 05 15:49:32 2007 +0200 @@ -22,6 +22,9 @@ hg --quiet kwdemo "Branch = {branches}" +echo % do not expand debug templates +hg --debug kwdemo "ADD = empty{file_adds}" | grep 'ADD' + hg init Test cd Test diff -r c4f37735be9b -r 7b7e5858d8cd tests/test-keyword.out --- a/tests/test-keyword.out Fri Oct 05 14:52:39 2007 +0200 +++ b/tests/test-keyword.out Fri Oct 05 15:49:32 2007 +0200 @@ -65,6 +65,10 @@ [keywordmaps] Branch = {branches} $Branch: demobranch $ +% do not expand debug templates +ADD = empty{file_adds} +$ADD$ +$ADD: empty $ % kwshrink should exit silently in empty/invalid repo % cat expand $Id$