This is an archive of the discontinued Mercurial Phabricator instance.

transaction: do not rely on a global variable to post_finalize file
ClosedPublic

Authored by marmoute on Jan 31 2022, 1:48 PM.

Details

Summary

We can just add a new argument to the addfilegenerator function. This is more
explicit and therefor clearer and less error prone.

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

marmoute created this revision.Jan 31 2022, 1:48 PM
Alphare accepted this revision.Feb 3 2022, 5:36 AM
This revision is now accepted and ready to land.Feb 3 2022, 5:36 AM