contrib/win32/buildlocal.bat
author Cotizo Sima <cotizo@fb.com>
Mon, 28 Nov 2016 04:34:01 -0800
changeset 30543 03fae9048fa1
parent 13383 70ef5b610222
permissions -rw-r--r--
revlog: ensure that flags do not overflow 2 bytes This patch adds a line that ensures we are not setting by mistake a set of flags overlfowing the 2 bytes they are allocated. Given the way the data is packed in the revlog header, overflowing 2 bytes will result in setting a wrong offset.

@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