mercurial/scmutil.py
changeset 41649 799e156785f7
parent 41629 5ee3c49fc9cd
child 41650 f8b18583049f
--- a/mercurial/scmutil.py	Fri Feb 08 10:19:30 2019 -0800
+++ b/mercurial/scmutil.py	Fri Feb 08 10:32:48 2019 -0800
@@ -1040,7 +1040,6 @@
     similarity /= 100.0
 
     ret = 0
-    join = lambda f: os.path.join(prefix, f)
 
     wctx = repo[None]
     for subpath in sorted(wctx.substate):
@@ -1053,7 +1052,7 @@
                     ret = 1
             except error.LookupError:
                 repo.ui.status(_("skipping missing subrepository: %s\n")
-                                 % join(subpath))
+                                 % m.uipath(subpath))
 
     rejected = []
     def badfn(f, msg):