Page MenuHomePhabricator

largefiles: use uipathfn instead of match.{rel,uipath}() (API)
ClosedPublic

Authored by martinvonz on Feb 8 2019, 2:15 PM.

Details

Summary

All callers now pass in a uipathfn, so we can just use that instead of
choosing the right match function. This also means that when we make
add/remove respect ui.relative-paths, it will work for largefiles too.

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 8 2019, 2:15 PM
martinvonz retitled this revision from largefiles: use uipathfn instead of match.{rel,uipath}() to largefiles: use uipathfn instead of match.{rel,uipath}() (API).Feb 8 2019, 3:18 PM
martinvonz updated this revision to Diff 13971.Feb 9 2019, 5:21 PM
martinvonz updated this revision to Diff 13976.Feb 9 2019, 5:25 PM
This revision was automatically updated to reflect the committed changes.