Mercurial > hg
comparison contrib/check-code.py @ 28211:446465888119
hgweb: add option to convert encoding of graphdata()
Because future patches will change "|json" filter to handle input bytes
transparently, i.e. use UTF-8b encoding, "{jsdata}" must keep data in UTF-8
bytes, whereas "{nodes}" are text.
This patch inserts encodestr() where localstr is likely to survive.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 04 Jan 2016 23:05:09 +0900 |
parents | 34a2944aac9b |
children | 97fe88806f6f |
comparison
equal
deleted
inserted
replaced
28210:964ad57eff30 | 28211:446465888119 |
---|