##// END OF EJS Templates
cat: respect ui.relative-paths for "skipping missing subrepository"...
Martin von Zweigbergk -
r41812:28ce9184 default
parent child Browse files
Show More
@@ -2367,6 +2367,7 b' def cat(ui, repo, ctx, matcher, basefm, '
2367 write(abs)
2367 write(abs)
2368 err = 0
2368 err = 0
2369
2369
2370 uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True)
2370 for subpath in sorted(ctx.substate):
2371 for subpath in sorted(ctx.substate):
2371 sub = ctx.sub(subpath)
2372 sub = ctx.sub(subpath)
2372 try:
2373 try:
@@ -2377,7 +2378,7 b' def cat(ui, repo, ctx, matcher, basefm, '
2377 err = 0
2378 err = 0
2378 except error.RepoLookupError:
2379 except error.RepoLookupError:
2379 ui.status(_("skipping missing subrepository: %s\n") %
2380 ui.status(_("skipping missing subrepository: %s\n") %
2380 matcher.rel(subpath))
2381 uipathfn(subpath))
2381
2382
2382 return err
2383 return err
2383
2384
General Comments 0
You need to be logged in to leave comments. Login now