annotate .hg-format-source @ 4917:d1d8e97d32af

obslog: make changeset available to templater obslog templating currently has very limited support for templating the precursor changeset (when available). The only available keywords are {node}, {rev}, and {shortdescription}. This patch makes the entire changeset available to the templater by passing it to formatter.context(). That function has been available since Mercurial 4.2.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 04 Nov 2019 14:31:08 -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"}