I'm writing an extension for which it would be very convenient to be able to perform some logic after a rollback is made.
I looked through all of the documentation I could find on hooks, but I couldn't find a rollback
hook. I also tried the post-*
hooks (namely, post-rollback
), but that also didn't fire. My next step would be to dive into the source, but I thought I'd ask this question in case someone knows.
Is there a rollback hook? And if so, is it possible to wire it up in a Python extension using uisetup()
or reposetup()
?