equal
deleted
inserted
replaced
801 pats = [] |
801 pats = [] |
802 if not globbed and default == 'relpath': |
802 if not globbed and default == 'relpath': |
803 pats = expandpats(pats or []) |
803 pats = expandpats(pats or []) |
804 |
804 |
805 m = ctx.match(pats, opts.get('include'), opts.get('exclude'), |
805 m = ctx.match(pats, opts.get('include'), opts.get('exclude'), |
806 default) |
806 default, listsubrepos=opts.get('subrepos')) |
807 def badfn(f, msg): |
807 def badfn(f, msg): |
808 ctx.repo().ui.warn("%s: %s\n" % (m.rel(f), msg)) |
808 ctx.repo().ui.warn("%s: %s\n" % (m.rel(f), msg)) |
809 m.bad = badfn |
809 m.bad = badfn |
810 if m.always(): |
810 if m.always(): |
811 pats = [] |
811 pats = [] |