Mercurial > hg
view contrib/automation/linux-requirements.txt.in @ 48461:eaad68294904
status: when extracting arguments from `opts`, use the same default values
Sometimes other code, such as commit when using `commands.commit.post-status`,
calls `commands.status()` without going through the normal dispatch mechanism
that would typically fill in the args to be something besides None. As a
"defense in depth" mechanism for a bug where Mercurial would crash if both
`commands.commit.post-status` and `experimental.directaccess` were enabled,
let's sanitize these values to be identical to the values they would have when
the user invoked this method from the commandline.
Differential Revision: https://phab.mercurial-scm.org/D11884
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Tue, 07 Dec 2021 15:53:55 -0800 |
parents | 9934920af5f7 |
children | 905bc9d0a149 |
line wrap: on
line source
# black pulls in typed-ast, which doesn't install on PyPy. black==19.10b0 ; python_version >= '3.6' and platform_python_implementation != 'PyPy' # Bazaar doesn't work with Python 3 nor PyPy. bzr ; python_version <= '2.7' and platform_python_implementation == 'CPython' docutils fuzzywuzzy # isort 5.0 drops support for Python 3.5. We can remove this line when we # drop support for 3.5. isort < 5.0 pyflakes pygments pylint # Needed to avoid warnings from fuzzywuzzy. python-Levenshtein # typed-ast dependency doesn't install on PyPy. typed-ast ; python_version >= '3.0' and platform_python_implementation != 'PyPy' vcrpy