annotate contrib/win32/buildlocal.bat @ 44975:1a4b9b602e54 stable

py3: fix broken man page generation, it was generating `(default: NUL*)` `bytes(default)` was producing things like `(default: \x00)` when handed non-bytes values such as `1`, `10`, or `True`. The man page generation would apparently ignore these bytes and produce man pages that had the string `(default: )`. Test Plan: - Ran `cd doc; python3 gendoc.py "hg.1.gendoc"` and grepped for bad output - Ran `make deb`, extracted the deb, manually inspected `hg.1` file. Differential Revision: https://phab.mercurial-scm.org/D8639
author Kyle Lippincott <spectral@google.com>
date Wed, 17 Jun 2020 16:11: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