From patchwork Sun Feb 10 03:41:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D5915: cmdutil: migrate previously missed instances to uipathfn From: phabricator X-Patchwork-Id: 38643 Message-Id: <28004a69a96c2a6e1eed48b41cc95211@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sun, 10 Feb 2019 03:41:42 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG0cbf491db7ee: cmdutil: migrate previously missed instances to uipathfn (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5915?vs=13942&id=13996 REVISION DETAIL https://phab.mercurial-scm.org/D5915 AFFECTED FILES mercurial/cmdutil.py CHANGE DETAILS To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -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: