Submitter | phabricator |
---|---|
Date | March 2, 2022, 11:31 p.m. |
Message ID | <differential-rev-PHID-DREV-ttuyeb7og6cischc3lol-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50647/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -188,7 +188,7 @@ warnings.filterwarnings('default', '', DeprecationWarning, 'mercurial') warnings.filterwarnings('default', '', DeprecationWarning, 'hgext') warnings.filterwarnings('default', '', DeprecationWarning, 'hgext3rd') -if _dowarn and pycompat.ispy3: +if _dowarn: # silence warning emitted by passing user string to re.sub() warnings.filterwarnings( 'ignore', 'bad escape', DeprecationWarning, 'mercurial'