Page MenuHomePhabricator

status: introduce higher-level ui.relative-paths

Authored by martinvonz on Jan 30 2019, 3:19 PM.



The existing commands.status.relative trumps the new config. We need
to keep the existing config around for compatibility. However, I don't
think we need to introduce similar command-specific options for other
commands when they learn to respec ui.relative-paths.

Diff Detail

rHG Mercurial
Lint Skipped
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Jan 30 2019, 3:19 PM
pulkit accepted this revision.Jan 31 2019, 3:56 PM
This revision was automatically updated to reflect the committed changes.

Btw, @mharbison72, I think now that we have this new getuipathfn(), we have a single place to update to get \-separated paths on Windows. I believe we should replace the lambda f: f by platform.localpath. That should give you local paths in output from more and more commands as we switch them over to using the function.