##// END OF EJS Templates
stringutil: add a new function to do minimal regex escaping...
stringutil: add a new function to do minimal regex escaping Per https://bugs.python.org/issue29995, re.escape() used to over-escape regular expression strings, but in Python 3.7 that's been fixed, which also improved the performance of re.escape(). Since it's both an output change for us *and* a perfomance win, let's just effectively backport the new behavior to hg on all Python versions. Differential Revision: https://phab.mercurial-scm.org/D3841

File last commit:

r28450:155e3308 default
r38493:96f65bdf default
Show More
__init__.py
3 lines | 105 B | text/x-python | PythonLexer
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)