diff tests/test-command-template.t @ 13175:09cde75e0613

templater: give slightly nicer error for unknown map entries
author Matt Mackall <mpm@selenic.com>
date Mon, 20 Dec 2010 12:09:00 -0600
parents d79fdff55627
children c49cddce0a81
line wrap: on
line diff
--- a/tests/test-command-template.t	Tue Dec 07 22:14:43 2010 -0600
+++ b/tests/test-command-template.t	Mon Dec 20 12:09:00 2010 -0600
@@ -449,7 +449,7 @@
 
   $ echo 'q = q' > t
   $ hg log --style ./t
-  abort: ./t: no key named 'changeset'
+  abort: "changeset" not in template map
   [255]
 
 Error if include fails: