mercurial/defaultrc/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Thu, 12 Dec 2019 12:57:13 -0800
changeset 43877 1390bb81163e
permissions -rw-r--r--
help: get helptext/ data from `resources` module if available For PyOxidizer, we need to read configs using the `resources` module. This patch makes it so we use that module if available (i.e. Python >= 3.7). It does that by adding a new `open_resource()` function to our `resourceutil` module. Tested by running `$PYTHON ./hg help pager` for each $PYTHON in {python2, python3.6, python3.7}. Differential Revision: https://phab.mercurial-scm.org/D7622
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: