##// END OF EJS Templates
revset: make matching keyword not match summary when matching for description
Angel Ezquerra -
r16444:432f1986 default
parent child Browse files
Show More
@@ -945,6 +945,9 b' def matching(repo, subset, x):'
945 field = 'user'
945 field = 'user'
946 fields.append(field)
946 fields.append(field)
947 fields = set(fields)
947 fields = set(fields)
948 if 'summary' in fields and 'description' in fields:
949 # If a revision matches its description it also matches its summary
950 fields.discard('summary')
948
951
949 # We may want to match more than one field
952 # We may want to match more than one field
950 # Each field will be matched with its own "getfield" function
953 # Each field will be matched with its own "getfield" function
General Comments 0
You need to be logged in to leave comments. Login now