diff mercurial/encoding.py @ 29779:997e8cf4d0a2

pycompat: avoid using an extra function We have a single line function which just lowercase the letters and replaces "_" with "". Its better to avoid that function call. Moreover we calling this function around 33 times.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 13 Aug 2016 04:21:42 +0530
parents 3c6e94d0811c
children 0f6d6fdd3c2a
line wrap: on
line diff