This is an archive of the discontinued Mercurial Phabricator instance.

commitctx: extract _filecommit too

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



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

rHG Mercurial
No Linters Available
No Unit Test Coverage

Event Timeline

marmoute created this revision.Jul 8 2020, 4:37 AM
marmoute updated this revision to Diff 21992.Jul 20 2020, 12:51 PM
marmoute updated this revision to Diff 22031.Jul 21 2020, 6:09 PM
pulkit accepted this revision.Jul 22 2020, 7:37 AM
This revision is now accepted and ready to land.Jul 22 2020, 7:37 AM
This revision was automatically updated to reflect the committed changes.