author | Angel Ezquerra <angel.ezquerra@gmail.com> |
Fri, 13 Apr 2012 13:35:45 +0200 | |
changeset 16444 | 432f198600c6 |
parent 16443 | 9e02e032b522 |
child 16445 | 453c8670566c |
--- a/mercurial/revset.py Thu Mar 22 21:12:15 2012 +0100 +++ b/mercurial/revset.py Fri Apr 13 13:35:45 2012 +0200 @@ -945,6 +945,9 @@ field = 'user' fields.append(field) fields = set(fields) + if 'summary' in fields and 'description' in fields: + # If a revision matches its description it also matches its summary + fields.discard('summary') # We may want to match more than one field # Each field will be matched with its own "getfield" function