Mercurial > hg
changeset 3838:dec4eba7ccad
Use util.always instead of creating a new lambda function in show_changeset
and simplify the expression.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 09 Dec 2006 09:30:29 +0100 |
parents | 7df171ea50cd |
children | 3820385fb113 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Dec 08 20:44:58 2006 -0600 +++ b/mercurial/cmdutil.py Sat Dec 09 09:30:29 2006 +0100 @@ -524,9 +524,7 @@ # options patch = False if opts.get('patch'): - patch = lambda x: True - if matchfn: - patch = matchfn + patch = matchfn or util.always br = None if opts.get('branches'):