annotate contrib/win32/buildlocal.bat @ 26354:c1fb2cab6260

clone: check update rev for being True In 30be3aeb5344, there was an attempt to fallback to looking up the update revision assuming it was always a rev but the documentation states: True means update to default rev, anything else is treated as a revision Therefore, we should only fallback to looking up the update rev if it is not True. This bug was found in hg-git and I couldn't think of a test that does this in pure Mercurial since the source repository is checked for the revision as well (and therefore gracefully falls back).
author Sean Farley <sean@farley.io>
date Thu, 24 Sep 2015 15:52:11 -0700
parents 70ef5b610222
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13383
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
1 @echo off
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
2 rem Double-click this file to (re)build Mercurial for Windows in place.
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
3 rem Useful for testing and development.
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
4 cd ..\..
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
5 del /Q mercurial\*.pyd
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
6 del /Q mercurial\*.pyc
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
7 rmdir /Q /S mercurial\locale
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
8 python setup.py build_py -c -d . build_ext -i build_mo
70ef5b610222 contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
9 pause