Mercurial > hg
view contrib/debian/cacerts.rc @ 37946:57b0c7221dba
encoding: fix toutf8b() to resurrect lossy characters even if "\xed" in it
If 's' is a localstr, 's._utf8' must be returned to get the original UTF-8
sequence back. Because of this, it was totally wrong to test if '"\xed" not
in s', which should be either '"\xed" not in s._utf8' or just omitted.
This patch moves the localstr handling to top as the validity of 's._utf8'
should be pre-checked by encoding.tolocal().
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 22 Apr 2018 11:38:53 +0900 |
parents | ccdc2b23fdb8 |
children |
line wrap: on
line source
# This config file points Mercurial at the system-wide certificate # store from the ca-certificates package. [web] cacerts = /etc/ssl/certs/ca-certificates.crt