tests/test-command-template.t
branchstable
changeset 16678 48b1674ac1e7
parent 15839 43317af36d28
child 16917 bebe376b938f
--- a/tests/test-command-template.t	Sat May 12 09:43:12 2012 +0200
+++ b/tests/test-command-template.t	Sat May 12 22:12:54 2012 +0200
@@ -45,6 +45,15 @@
   $ hg mv second fourth
   $ hg commit -m third -d "2020-01-01 10:01"
 
+Quoting for ui.logtemplate
+
+  $ hg tip --config "ui.logtemplate={rev}\n"
+  8
+  $ hg tip --config "ui.logtemplate='{rev}\n'"
+  8
+  $ hg tip --config 'ui.logtemplate="{rev}\n"'
+  8
+
 Make sure user/global hgrc does not affect tests
 
   $ echo '[ui]' > .hg/hgrc