This is an archive of the discontinued Mercurial Phabricator instance.

transaction: add a `hasfinalize` method
ClosedPublic

Authored by marmoute on Jan 11 2020, 12:02 PM.

Details

Summary

The method allow code to check if an existing callback exists. It allow them to
skip potentially expensive setup for a callback.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

marmoute created this revision.Jan 11 2020, 12:02 PM
pulkit accepted this revision.Jan 13 2020, 7:36 AM
This revision is now accepted and ready to land.Jan 13 2020, 7:36 AM
This revision was automatically updated to reflect the committed changes.
marmoute updated this revision to Diff 19170.Jan 13 2020, 10:05 AM