mercurial/cmdutil.py
changeset 24438 5b85a5bc5bbb
parent 24431 a0004402776b
child 24449 bab983bb6fd1
equal deleted inserted replaced
24437:2703eb73a3af 24438:5b85a5bc5bbb
  2826                 for f in names:
  2826                 for f in names:
  2827                     if f.startswith(path_):
  2827                     if f.startswith(path_):
  2828                         return
  2828                         return
  2829                 ui.warn("%s: %s\n" % (m.rel(path), msg))
  2829                 ui.warn("%s: %s\n" % (m.rel(path), msg))
  2830 
  2830 
  2831             m = scmutil.match(ctx, pats, opts)
       
  2832             m.bad = badfn
  2831             m.bad = badfn
  2833             for abs in ctx.walk(m):
  2832             for abs in ctx.walk(m):
  2834                 if abs not in names:
  2833                 if abs not in names:
  2835                     names[abs] = m.rel(abs), m.exact(abs)
  2834                     names[abs] = m.rel(abs), m.exact(abs)
  2836 
  2835