[PATCH in crew] templater: abort when a template filter raises an exception (issue2987)

Adrian Buehlmann adrian at cadifra.com
Wed Aug 22 02:02:06 CDT 2012


On 2012-08-21 22:13, Bryan O'Sullivan wrote:
> # HG changeset patch
> # User Neil Kodner <neilk at fb.com>
> # Date 1345241521 25200
> # Node ID 099c778ceb33e26626fdc27eae362113b8894491
> # Parent  c6f88e7f95b764e23b7e0b4353c5a6458bbc3cc4
> templater: abort when a template filter raises an exception (issue2987)

Buildbot says:

--- /Users/buildslave/sl/OS_X_10_6_hg_tests/build/tests/test-command-template.t 
+++ /Users/buildslave/sl/OS_X_10_6_hg_tests/build/tests/test-command-template.t.err 
@@ -1366,25 +1366,25 @@
 Behind the scenes, this will throw TypeError
 
   $ hg log -l 3 --template '{date|obfuscate}\n'
-  abort: Template filter 'obfuscate' is not compatible with keyword 'date'
+  abort: template filter 'obfuscate' is not compatible with keyword 'date'
   [255]
 

http://hgbuildbot.kublai.com/builders/OS%20X%2010.6%20hg%20tests/builds/228


More information about the Mercurial-devel mailing list