# HG changeset patch # User Mads Kiilerich # Date 2013-10-03 16:01:21 # Node ID df91e2df6ba3824c3dba13c7d1a54646adfcc0e6 # Parent dc4edca39e41de9f1b16f256954b192b762cc9b9 cmdutil: use None as default value for "function pointer" instead of False Less type confusion. diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -933,7 +933,7 @@ def show_changeset(ui, repo, opts, buffe regular display via changeset_printer() is done. """ # options - patch = False + patch = None if opts.get('patch') or opts.get('stat'): patch = scmutil.matchall(repo)