( )⚙ D11411 rhg: Reuse manifest when checking status of multiple ambiguous files

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Reuse manifest when checking status of multiple ambiguous files
ClosedPublic

Authored by SimonSapin on Sep 13 2021, 2:14 PM.

Details

Summary

When rhg status cannot determine whether a file is clean based on mtime and
size alone, it needs to compare its contents with those found in the parent
commit. Previously, rhg would find the (same) manifest of that commit again
for every such file. This is lifted out of the loop and reused.

Diff Detail

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