Running "hg parent --template '{date|obfuscate}"' crashes with the following exception: ** unknown exception encountered, please report by visiting ** http://mercurial.selenic.com/wiki/BugTracker ** Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] ** Mercurial Distributed SCM (version 1.9.2+3-86380f24e697) ** Extensions loaded: rebase, svn Traceback (most recent call last): [omitted traceback] TypeError: coercing to Unicode: need string or buffer, tuple found The same happens (with different exceptions) for other filters that expect string input if they aren't given strings. Hg should give a sensible error message instead of crashing. If this is not a bug but expected behaviour, it is a bug that mercurial instructs me to report this. Related: Issue 2159
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:23 EDT --- This bug was previously known as _bug_ 2987 at http://mercurial.selenic.com/bts/issue2987 Bug Status was UNCONFIRMED but everconfirmed was true Setting status to CONFIRMED
Fixed by http://selenic.com/repo/hg/rev/099c778ceb33 Neil Kodner <neilk@fb.com> templater: abort when a template filter raises an exception (issue2987) (please test the fix)
Mass close old bugs in testing.
*** Bug 3096 has been marked as a duplicate of this bug. ***