This is an archive of the discontinued Mercurial Phabricator instance.

revert: always show relative path to .orig backup
ClosedPublic

Authored by martinvonz on Feb 6 2019, 6:57 PM.

Details

Summary

This helps make some future patches easier when I replace origpath()
by another function that works with repo-relative paths (origpath()
works with cwd-relative paths).

Always showing a relative path seems a little more user-friendly and
is more consistent between configured ui.origbackuppath and not. OTOH,
it's annoying if ui.origbackuppath is far outside the repo. This is
just --verbose output, so I don't think it's worth spending much time
on (I've already wasted too many hours on it).

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