equal
deleted
inserted
replaced
776 |
776 |
777 if m.always(): |
777 if m.always(): |
778 pats = [] |
778 pats = [] |
779 return m, pats |
779 return m, pats |
780 |
780 |
781 def match(ctx, pats=(), opts={}, globbed=False, default='relpath', badfn=None): |
781 def match(ctx, pats=(), opts=None, globbed=False, default='relpath', |
|
782 badfn=None): |
782 '''Return a matcher that will warn about bad matches.''' |
783 '''Return a matcher that will warn about bad matches.''' |
783 return matchandpats(ctx, pats, opts, globbed, default, badfn=badfn)[0] |
784 return matchandpats(ctx, pats, opts, globbed, default, badfn=badfn)[0] |
784 |
785 |
785 def matchall(repo): |
786 def matchall(repo): |
786 '''Return a matcher that will efficiently match everything.''' |
787 '''Return a matcher that will efficiently match everything.''' |