# HG changeset patch # User Mads Kiilerich # Date 1380816081 -7200 # Node ID df91e2df6ba3824c3dba13c7d1a54646adfcc0e6 # Parent dc4edca39e41de9f1b16f256954b192b762cc9b9 cmdutil: use None as default value for "function pointer" instead of False Less type confusion. diff -r dc4edca39e41 -r df91e2df6ba3 mercurial/cmdutil.py --- 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)