##// END OF EJS Templates
store: slice over a bytestring to get characters instead of ascii values...
store: slice over a bytestring to get characters instead of ascii values On Python 2, >>> a = b'abc' >>> a[1] 'b' Whereas on python 3, >>> a = b'abc' >>> a[1] 98 >>> a[1:2] b'b' This does not change behaviour on python 2.

File last commit:

r13383:70ef5b61 default
r31219:f8e06821 default
Show More
buildlocal.bat
9 lines | 267 B | application/x-msdownload | BatchLexer
Adrian Buehlmann
contrib: add win32/buildlocal.bat
r13383 @echo off
rem Double-click this file to (re)build Mercurial for Windows in place.
rem Useful for testing and development.
cd ..\..
del /Q mercurial\*.pyd
del /Q mercurial\*.pyc
rmdir /Q /S mercurial\locale
python setup.py build_py -c -d . build_ext -i build_mo
pause