Mercurial > evolve
comparison tests/test-evolve-abort-phasediv.t @ 5203:034d6d0efa7d
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.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 19 Mar 2020 20:09:18 +0530 |
parents | 2e14a9386316 |
children | 5cd7d16b8733 b2de5825e5ca |
comparison
equal
deleted
inserted
replaced
5195:85640f1feced | 5203:034d6d0efa7d |
---|