diff mercurial/localrepo.py @ 44025:3216cabffd4a

commit: change default `editor` parameter to None Flagged by PyCharm as a boolean not being callable later where it is used. There's no actual bug here because of `if editor` checks before using. Differential Revision: https://phab.mercurial-scm.org/D7768
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 28 Dec 2019 02:02:34 -0500
parents 8042856c90b6
children b958419b6c53
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Dec 28 01:51:17 2019 -0500
+++ b/mercurial/localrepo.py	Sat Dec 28 02:02:34 2019 -0500
@@ -2845,7 +2845,7 @@
         date=None,
         match=None,
         force=False,
-        editor=False,
+        editor=None,
         extra=None,
     ):
         """Add a new revision to current repository.