Page MenuHomePhabricator

remotefilelog: fix bug in maybesparsematch returning alwaysmatcher
ClosedPublic

Authored by spectral on Dec 27 2018, 7:15 PM.

Details

Summary

The description of the method says that it should return None if sparse is not
used in this repository; since sparse.matcher() returns alwaysmatcher if sparse
is not enabled, I'm using that as the signal to return None here to preserve the
previous behavior.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

spectral created this revision.Dec 27 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.