Page MenuHomePhabricator

scmutil: respect ui.relative-paths in default match.badfn
ClosedPublic

Authored by martinvonz on Feb 8 2019, 5:36 PM.

Details

Summary

We should probably be passing in a uipathfn here instead, so the
caller can get consistent output (between match.badfn and whatever
else it prints). I think we should ideally remove the badfn from the
matcher completely, but that's a different story. This patch is at
least not making it worse.

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, 5:36 PM
This revision was automatically updated to reflect the committed changes.