comparison contrib/hgfixes/fix_bytesmod.py @ 13248:00411a4fa1bb stable

url: fix UnicodeDecodeError on certificate verification error SSLSocket.getpeercert() returns tuple containing unicode for 'subject'. Since Mercurial does't support IDN at all, it just returns error for non-ascii certname.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 08 Jan 2011 21:52:25 +0900
parents e627fef94604
children 681f7b9213a4
comparison
equal deleted inserted replaced
13246:a01c52b08c5f 13248:00411a4fa1bb