This is an archive of the discontinued Mercurial Phabricator instance.

transaction: make count and usages private attributes
ClosedPublic

Authored by indygreg on Sep 17 2018, 7:36 PM.

Details

Summary

I want to formalize the interface for transactions. As part of
doing that, let's take the opportunity to make some attributes
non-public.

"count" and "usages" track how many times the transaction has
been opened/nested/closed/released. This is internal state and
doesn't need to be part of the public API.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Sep 17 2018, 7:36 PM
This revision was automatically updated to reflect the committed changes.