Patchwork D5915: cmdutil: migrate previously missed instances to uipathfn

login
register
mail settings
Submitter phabricator
Date Feb. 10, 2019, 3:41 a.m.
Message ID <28004a69a96c2a6e1eed48b41cc95211@localhost.localdomain>
Download mbox | patch
Permalink /patch/38643/
State Not Applicable
Headers show

Comments

phabricator - Feb. 10, 2019, 3:41 a.m.
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

Patch

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: