Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
8019:af49e2d15e51 | 8020:777a9efdae2d |
---|---|
1961 if miss: | 1961 if miss: |
1962 continue | 1962 continue |
1963 | 1963 |
1964 if opts['user']: | 1964 if opts['user']: |
1965 changes = get(rev) | 1965 changes = get(rev) |
1966 miss = 0 | 1966 if not [k for k in opts['user'] if k in changes[1]]: |
1967 for k in opts['user']: | |
1968 if k != changes[1]: | |
1969 miss = 1 | |
1970 break | |
1971 if miss: | |
1972 continue | 1967 continue |
1973 | 1968 |
1974 copies = [] | 1969 copies = [] |
1975 if opts.get('copies') and rev: | 1970 if opts.get('copies') and rev: |
1976 for fn in get(rev)[3]: | 1971 for fn in get(rev)[3]: |