changeset 36699 | aa9c5d447980 |
parent 36631 | 8395fddde46c |
child 36701 | d77c3b023393 |
--- a/mercurial/util.py Thu Feb 15 18:05:58 2018 -0800 +++ b/mercurial/util.py Sun Mar 04 11:49:33 2018 -0500 @@ -249,6 +249,8 @@ # silence warning emitted by passing user string to re.sub() warnings.filterwarnings(r'ignore', r'bad escape', DeprecationWarning, r'mercurial') + warnings.filterwarnings(r'ignore', r'invalid escape sequence', + DeprecationWarning, r'mercurial') def nouideprecwarn(msg, version, stacklevel=1): """Issue an python native deprecation warning