##// END OF EJS Templates
scmutil: remove special handling of pats==("",) in matchandpats() (API)...
Martin von Zweigbergk -
r41815:a950b65c default
parent child Browse files
Show More
@@ -795,8 +795,6 b' def matchandpats(ctx, pats=(), opts=None'
795 '''Return a matcher and the patterns that were used.
795 '''Return a matcher and the patterns that were used.
796 The matcher will warn about bad matches, unless an alternate badfn callback
796 The matcher will warn about bad matches, unless an alternate badfn callback
797 is provided.'''
797 is provided.'''
798 if pats == ("",):
799 pats = []
800 if opts is None:
798 if opts is None:
801 opts = {}
799 opts = {}
802 if not globbed and default == 'relpath':
800 if not globbed and default == 'relpath':
General Comments 0
You need to be logged in to leave comments. Login now