Submitter | phabricator |
---|---|
Date | Feb. 13, 2018, 3:48 a.m. |
Message ID | <b58aba3c1193cf7211e33e713f851c7f@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/27791/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -253,7 +253,7 @@ if _dowarn: msg += ("\n(compatibility will be dropped after Mercurial-%s," " update your code.)") % version - warnings.warn(msg, DeprecationWarning, stacklevel + 1) + warnings.warn(pycompat.sysstr(msg), DeprecationWarning, stacklevel + 1) DIGESTS = { 'md5': hashlib.md5,