Mercurial > evolve
annotate .hg-format-source @ 6210:6ae0077e416e stable
state: allow to unvendor cbor
This makes evolve fallback to an externally provided version of
the `cbor` library, which in turns allows distributions such as Debian
not to include the vendored `cbor.py` and rely on their own provided
version instead.
The price to pay is the immediate attempt to import the vendored `cbor`,
to circumvent that hgdemandimport never raises `ImportError` immediately.
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Fri, 01 Apr 2022 21:59:32 +0200 |
parents | 48b30ff742cb |
children |
rev | line source |
---|---|
4814
48b30ff742cb
python3: use format-source to run byteify-strings in .py files
Raphaël Gomès <rgomes@octobus.net>
parents:
diff
changeset
|
1 {"pattern": "glob:hgext3rd/**/*.py", "tool": "byteify-strings"} |