Mercurial > hg > mercurial-source
diff mercurial/treediscovery.py @ 38016:63144f33c8bb
templatefilters: raise ProgrammingError if unencodable type passed to json()
This shouldn't happen for any template data types (though I know it does
because of some templater bugs.) Let's clarify it is a bug.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 18 Mar 2018 16:53:08 +0900 |
parents | 56b2bcea2529 |
children | 0ed11f9368fd |