Mercurial > hg
changeset 41664:0cbf491db7ee
cmdutil: migrate previously missed instances to uipathfn
I seem to have missed these two instances in 15f63ac122ea (files:
respect ui.relative-paths, 2019-01-29) and 7068c6b0114b (revert:
respect ui.relative-paths, 2019-02-05).
Differential Revision: https://phab.mercurial-scm.org/D5915
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 08 Feb 2019 13:00:28 -0800 |
parents | 28ce9184d495 |
children | 0ed7a8ac5711 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Feb 08 13:54:20 2019 -0800 +++ b/mercurial/cmdutil.py Fri Feb 08 13:00:28 2019 -0800 @@ -2193,7 +2193,7 @@ ret = 0 except error.LookupError: ui.status(_("skipping missing subrepository: %s\n") - % m.rel(subpath)) + % uipathfn(subpath)) return ret @@ -2825,7 +2825,7 @@ for f in names: if f.startswith(path_): return - ui.warn("%s: %s\n" % (m.rel(path), msg)) + ui.warn("%s: %s\n" % (uipathfn(path), msg)) for abs in ctx.walk(matchmod.badmatch(m, badfn)): if abs not in names: