( )⚙ D9139 copies: add a HASCOPIESINFO flag to highlight rev with useful data

This is an archive of the discontinued Mercurial Phabricator instance.

copies: add a HASCOPIESINFO flag to highlight rev with useful data
ClosedPublic

Authored by marmoute on Oct 1 2020, 10:09 AM.

Details

Summary

If some files changes that may impact copy tracing are detected, we set this
flag. This helps the copy tracing algorithm to skip fetching possibly expensive
data when unnecessary.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Oct 1 2020, 10:09 AM
Alphare accepted this revision.Oct 2 2020, 9:11 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.

@marmoute: both REVISION_FLAG_SIDEDATA and REVISION_FLAG_HASCOPIESINFO need documented in mercurial/helptext/internals/revlogs.txt. Could you please send a patch to ensure the technical specs stay in sync with reality?