.hg-format-source
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 19 Mar 2020 20:09:18 +0530
changeset 5203 034d6d0efa7d
parent 4814 48b30ff742cb
permissions -rw-r--r--
topic: fix compatibility issues caused because of change in transaction API In 36f08ae87ef687be53a59bd87376bcfbe4479205 in core mercurial, `_validator` attribute to transaction class was removed and a dict was introduced. It added a `addvalidator()` function to transaction class which can be used to register multiple validator callbacks. This updates the code to use `addvalidator()` when `_validator` attribute is not present.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"}