##// END OF EJS Templates
cmdutil: remove duplicated badmatch call in cat()...
Hannes Oldenburg -
r29739:84a8de5a default
parent child Browse files
Show More
@@ -2581,14 +2581,7 b' def cat(ui, repo, ctx, matcher, prefix, '
2581 2581 write(file)
2582 2582 return 0
2583 2583
2584 # Don't warn about "missing" files that are really in subrepos
2585 def badfn(path, msg):
2586 for subpath in ctx.substate:
2587 if path.startswith(subpath + '/'):
2588 return
2589 matcher.bad(path, msg)
2590
2591 for abs in ctx.walk(matchmod.badmatch(matcher, badfn)):
2584 for abs in ctx.walk(matcher):
2592 2585 write(abs)
2593 2586 err = 0
2594 2587
General Comments 0
You need to be logged in to leave comments. Login now