Show More
@@ -249,6 +249,8 b' if _dowarn and pycompat.ispy3:' | |||||
249 | # silence warning emitted by passing user string to re.sub() |
|
249 | # silence warning emitted by passing user string to re.sub() | |
250 | warnings.filterwarnings(r'ignore', r'bad escape', DeprecationWarning, |
|
250 | warnings.filterwarnings(r'ignore', r'bad escape', DeprecationWarning, | |
251 | r'mercurial') |
|
251 | r'mercurial') | |
|
252 | warnings.filterwarnings(r'ignore', r'invalid escape sequence', | |||
|
253 | DeprecationWarning, r'mercurial') | |||
252 |
|
254 | |||
253 | def nouideprecwarn(msg, version, stacklevel=1): |
|
255 | def nouideprecwarn(msg, version, stacklevel=1): | |
254 | """Issue an python native deprecation warning |
|
256 | """Issue an python native deprecation warning |
General Comments 0
You need to be logged in to leave comments.
Login now