D5914: cat: respect ui.relative-paths for "skipping missing subrepository"
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sun Feb 10 03:41:38 UTC 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG28ce9184d495: cat: respect ui.relative-paths for "skipping missing subrepository" (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5914?vs=13941&id=13995
REVISION DETAIL
https://phab.mercurial-scm.org/D5914
AFFECTED FILES
mercurial/cmdutil.py
CHANGE DETAILS
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -2367,6 +2367,7 @@
write(abs)
err = 0
+ uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True)
for subpath in sorted(ctx.substate):
sub = ctx.sub(subpath)
try:
@@ -2377,7 +2378,7 @@
err = 0
except error.RepoLookupError:
ui.status(_("skipping missing subrepository: %s\n") %
- matcher.rel(subpath))
+ uipathfn(subpath))
return err
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list