annotate .hg-format-source @ 5853:13b108c3782e stable

evolve: use cl.tiprev() instead of len(cl) - 1 We have this nice method of revlogs that will make code slightly easier to read, why not use it. Revlogs also have a .tip() method to return tip as node hash, but only in 5.3+.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 16 Mar 2021 21:25:11 +0800
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"}