( )⚙ D8083 archival: use walk() instead of matches() on manifest

This is an archive of the discontinued Mercurial Phabricator instance.

archival: use walk() instead of matches() on manifest
ClosedPublic

Authored by durin42 on Feb 5 2020, 5:34 PM.

Details

Summary

All we care about is the filepaths, so this avoids a pointless copy of the
manifest that we only used to extract matching filenames.

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.

Event Timeline

durin42 created this revision.Feb 5 2020, 5:34 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.

Oops, I queued this one out of order because I wanted to think more about the previous two patches first, but that made test-subrepo-deep-nested-change.t fail. I should have known there was a reason for the order in this series. I'll de-queue this one for now, so please revive your local copy.