This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: replace matchandpats() by match()
ClosedPublic

Authored by martinvonz on Feb 9 2019, 3:25 AM.

Details

Summary

It doesn't seem like replacing "pats" was useful here. Replacing ("",)
by [] doesn't seem like it would make a difference and glob-expansion
only happens on Windows. It seem like we should just pass the patterns
on to orig() unmodified.

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

martinvonz created this revision.Feb 9 2019, 3:25 AM
pulkit accepted this revision.Feb 9 2019, 4:39 PM
This revision was automatically updated to reflect the committed changes.