Mercurial > hg
annotate contrib/win32/buildlocal.bat @ 22575:d7f7f1860f00
ssl: on OS X, use a dummy cert to trick Python/OpenSSL to use system CA certs
This will give PKI-secure behaviour out of the box, without any configuration.
Setting web.cacerts to any value or empty will disable this trick.
This dummy cert trick only works on OS X 10.6+, but 10.5 had Python 2.5 which
didn't have certificate validation at all.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 26 Sep 2014 02:19:48 +0200 |
parents | 70ef5b610222 |
children |
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 |