python3: wrap all uses of <exception>.strerror with strtolocal
Our string literals are bytes, and we mostly want to %-format a strerror into a one of those literals, so this fixes a ton of issues.
Showing
- hgext/convert/common.py 4 additions, 2 deletionshgext/convert/common.py
- hgext/mq.py 2 additions, 1 deletionhgext/mq.py
- mercurial/cmdutil.py 2 additions, 2 deletionsmercurial/cmdutil.py
- mercurial/dirstate.py 3 additions, 2 deletionsmercurial/dirstate.py
- mercurial/dispatch.py 3 additions, 2 deletionsmercurial/dispatch.py
- mercurial/hgweb/common.py 2 additions, 1 deletionmercurial/hgweb/common.py
- mercurial/hgweb/hgwebdir_mod.py 1 addition, 1 deletionmercurial/hgweb/hgwebdir_mod.py
- mercurial/scmutil.py 8 additions, 5 deletionsmercurial/scmutil.py
- mercurial/subrepo.py 3 additions, 2 deletionsmercurial/subrepo.py
- mercurial/vfs.py 3 additions, 1 deletionmercurial/vfs.py
- mercurial/win32.py 2 additions, 1 deletionmercurial/win32.py
- mercurial/windows.py 2 additions, 1 deletionmercurial/windows.py
Loading
Please register or sign in to comment