Mercurial > hg
view contrib/packaging/macosx/distribution.xml @ 43941:dfac25883dbf
cmdutil: return underscore-separate name from check_at_most_one_arg()
As noticed by Yuya, when I changed the function (during review) to
work with underscore-separated names as input, I forgot to make sure
the returned name was also underscore-separated. We don't have any
cases where it matters yet, but it should still clearly be fixed.
Instead of converting the hyphen-separated value we already have in
`previous`, I'm changing it so we convert to the underscore-separated
values to be hyphen-separated only when we need to display them. This
will also help a coming change where we allow the inputs to native
strings instead only bytes.
Differential Revision: https://phab.mercurial-scm.org/D7698
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 18 Dec 2019 10:52:49 -0800 |
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>