annotate .hg-format-source @ 5680:18a70ae9fb0b

topic: add a basic in-memory cache for topic information Right now reading topic information twice means we uncompress a full revision twice. On a simple `hg topic --age` in my mercurial clone, the total runtime goes from 40s to 10s. Still too slow, but significantly less.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 13 Dec 2020 14:48:28 +0100
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"}