( )⚙ D8705 commitctx: document the manifest writing function

This is an archive of the discontinued Mercurial Phabricator instance.

commitctx: document the manifest writing function
ClosedPublic

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

Details

Summary

Same spirit as for _filecommit lets document the input and output before
making any change or improvement.

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. We start with
easy and small cleanup.

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.