HomePhabricator

commitctx: document a fast path in _filecommit

Authored by marmoute.

Description

commitctx: document a fast path in _filecommit

This block cut off a lot of logic, documenting the why and how seems useful to
future reader.

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.

Differential Revision: https://phab.mercurial-scm.org/D8700

Details

Committed
marmouteJul 6 2020, 1:13 PM
Differential Revision
D8700: commitctx: document a fast path in _filecommit
Parents
rHG86f9b25d750b: hgweb: simplify now that we always have a single path
Branches
Unknown
Tags
Unknown