contrib/win32/buildlocal.bat
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
Mon, 13 Feb 2017 14:05:24 +0100
changeset 31133 23080c03a604
parent 13383 70ef5b610222
permissions -rw-r--r--
share: add --relative flag to store a relative path to the source Storing a relative path the source repository is useful when exporting repositories over the network or when they're located on external drives where the mountpoint isn't always fixed. Currently, Mercurial interprets paths in `.hg/shared` relative to $PWD. I suspect this is very much unintentional, and you have to manually edit `.hg/shared` in order to trigger this behaviour. However, on the off chance that someone might rely on it, I added a new capability called 'relshared'. In addition, this makes earlier versions of Mercurial fail with a graceful error. I should note that I haven't tested this patch on Windows.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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