mercurial/cmdutil.py
branchstable
changeset 29633 bc5148d0a446
parent 29622 9c2cc107547f
child 29707 a1082645d623
equal deleted inserted replaced
29632:53e2c979e4cd 29633:bc5148d0a446
  2582             return 0
  2582             return 0
  2583 
  2583 
  2584     # Don't warn about "missing" files that are really in subrepos
  2584     # Don't warn about "missing" files that are really in subrepos
  2585     def badfn(path, msg):
  2585     def badfn(path, msg):
  2586         for subpath in ctx.substate:
  2586         for subpath in ctx.substate:
  2587             if path.startswith(subpath):
  2587             if path.startswith(subpath + '/'):
  2588                 return
  2588                 return
  2589         matcher.bad(path, msg)
  2589         matcher.bad(path, msg)
  2590 
  2590 
  2591     for abs in ctx.walk(matchmod.badmatch(matcher, badfn)):
  2591     for abs in ctx.walk(matchmod.badmatch(matcher, badfn)):
  2592         write(abs)
  2592         write(abs)