Mercurial > hg
view contrib/packaging/macosx/distribution.xml @ 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 | e5d2248dcc39 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" standalone="no"?> <installer-gui-script minSpecVersion="1"> <title>Mercurial SCM</title> <organization>org.mercurial-scm</organization> <options customize="never" require-scripts="false" rootVolumeOnly="true" /> <welcome file="Welcome.html" mime-type="text/html" /> <license file="../../../COPYING" mime-type="text/plain" /> <readme file="Readme.html" mime-type="text/html" /> <pkg-ref id="org.mercurial-scm.mercurial" version="0" auth="root" onConclusion="none">mercurial.pkg</pkg-ref> <choices-outline> <line choice="org.mercurial-scm.mercurial"/> </choices-outline> <choice id="org.mercurial-scm.mercurial" visible="false"> <pkg-ref id="org.mercurial-scm.mercurial"/> </choice> </installer-gui-script>