annotate .hg-format-source @ 6385:0bc90758f613

topic: wrap branchmap.read() as well (compatibility for hg <= 4.9) In hg 5.0+ this logic lives in branchcache.load method, but in older versions there's a module-level function that loads on-disk cache and returns a branchcache object. Since we need the cache to have branch names in the FQBN format, we need to wrap branchmap.load() and do the conversion there as well.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 05 Feb 2023 19:01:32 +0400
parents 48b30ff742cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"}