HomePhabricator

status: extract helper for producing relative or absolute path for UI

Authored by martinvonz.

Description

status: extract helper for producing relative or absolute path for UI

I put the helper in scmutil so it can be used by most modules. I would
have put it in utils.pathutil, but I think that's supposed to be
unaware of repos.

Differential Revision: https://phab.mercurial-scm.org/D5745