Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 19894:df91e2df6ba3
cmdutil: use None as default value for "function pointer" instead of False
Less type confusion.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 03 Oct 2013 18:01:21 +0200 |
parents | 0532c8f8e911 |
children | b7f76db06dc0 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Thu Oct 03 18:01:21 2013 +0200 +++ b/mercurial/cmdutil.py Thu Oct 03 18:01:21 2013 +0200 @@ -933,7 +933,7 @@ regular display via changeset_printer() is done. """ # options - patch = False + patch = None if opts.get('patch') or opts.get('stat'): patch = scmutil.matchall(repo)