Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 8020:777a9efdae2d
log: fix broken multiple user search
This fix also allows partial user matches so the full name and email
does not have to be written out in verbatim.
author | Henrik Stuart <hg@hstuart.dk> |
---|---|
date | Tue, 07 Apr 2009 20:57:25 +0200 |
parents | 8985e1daa7f5 |
children | 1c2cf2e5dc9b |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Apr 07 17:42:55 2009 +0200 +++ b/mercurial/commands.py Tue Apr 07 20:57:25 2009 +0200 @@ -1963,12 +1963,7 @@ if opts['user']: changes = get(rev) - miss = 0 - for k in opts['user']: - if k != changes[1]: - miss = 1 - break - if miss: + if not [k for k in opts['user'] if k in changes[1]]: continue copies = []