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