Page MenuHomePhabricator

commitctx: extract _filecommit too
ClosedPublic

Authored by marmoute on Wed, Jul 8, 4:37 AM.

Details

Summary

This function is exclusively used in commitctx. So we should extract it too
for consistency and to reduce the localrepo bloat.

This is part of a larger refactoring/cleanup of the commitctx code to clarify
and augment the logic gathering metadata useful for copy tracing. The current
code is a tad too long and entangled to make such update easy.

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.Wed, Jul 8, 4:37 AM
marmoute updated this revision to Diff 21992.Mon, Jul 20, 12:51 PM
marmoute updated this revision to Diff 22031.Tue, Jul 21, 6:09 PM
pulkit accepted this revision.Wed, Jul 22, 7:37 AM
This revision is now accepted and ready to land.Wed, Jul 22, 7:37 AM
This revision was automatically updated to reflect the committed changes.