[PATCH 2 of 9] check-commit: omit whitespace
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Wed Feb 10 08:58:40 EST 2016
# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1455111868 -32400
# Wed Feb 10 22:44:28 2016 +0900
# Node ID 75c65dd964945dfe1e2b3f1a7a46d4c1586cde4a
# Parent 52027adf96c7cdad8a753dfba4588ee525e0aa46
check-commit: omit whitespace
This is fixing for 'no whitespace around = for named parameters'
check-code rule.
check-code has overlooked this, because a file isn't recognized as one
to be checked (this problem is fixed by subsequent patch).
diff --git a/contrib/check-commit b/contrib/check-commit
--- a/contrib/check-commit
+++ b/contrib/check-commit
@@ -46,7 +46,7 @@ def nonempty(first, second):
return first
return second
-def checkcommit(commit, node = None):
+def checkcommit(commit, node=None):
exitcode = 0
printed = node is None
hits = []
More information about the Mercurial-devel
mailing list