This is an archive of the discontinued Mercurial Phabricator instance.

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.