global: mass rewrite to use modern octal syntax
Python 2.6 introduced a new octal syntax: "0oXXX", replacing "0XXX". The old syntax is not recognized in Python 3 and will result in a parse error. Mass rewrite all instances of the old octal syntax to the new syntax. This patch was generated by `2to3 -f numliterals -w -n .` and the diff was selectively recorded to exclude changes to "<N>l" syntax conversion, which will be handled separately.
Showing
- hgext/convert/darcs.py 1 addition, 1 deletionhgext/convert/darcs.py
- hgext/convert/gnuarch.py 1 addition, 1 deletionhgext/convert/gnuarch.py
- hgext/largefiles/overrides.py 3 additions, 3 deletionshgext/largefiles/overrides.py
- mercurial/archival.py 4 additions, 4 deletionsmercurial/archival.py
- mercurial/commands.py 2 additions, 2 deletionsmercurial/commands.py
- mercurial/dirstate.py 3 additions, 3 deletionsmercurial/dirstate.py
- mercurial/patch.py 3 additions, 3 deletionsmercurial/patch.py
- mercurial/posix.py 10 additions, 10 deletionsmercurial/posix.py
- mercurial/scmutil.py 1 addition, 1 deletionmercurial/scmutil.py
- mercurial/store.py 1 addition, 1 deletionmercurial/store.py
- mercurial/subrepo.py 1 addition, 1 deletionmercurial/subrepo.py
- mercurial/transaction.py 2 additions, 2 deletionsmercurial/transaction.py
- mercurial/windows.py 1 addition, 1 deletionmercurial/windows.py
- tests/hghave.py 4 additions, 4 deletionstests/hghave.py
Loading
Please register or sign in to comment