D5105: style: drop requirement to only use single lines between top-level objects

mjpieters (Martijn Pieters) phabricator at mercurial-scm.org
Tue Oct 16 03:56:03 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG47084b5ffd80: style: drop requirement to only use single lines between top-level objects (authored by mjpieters, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5105?vs=12134&id=12156

REVISION DETAIL
  https://phab.mercurial-scm.org/D5105

AFFECTED FILES
  contrib/check-commit

CHANGE DETAILS

diff --git a/contrib/check-commit b/contrib/check-commit
--- a/contrib/check-commit
+++ b/contrib/check-commit
@@ -39,8 +39,6 @@
      "summary keyword should be most user-relevant one-word command or topic"),
     (afterheader + r".*\.\s*\n", "don't add trailing period on summary line"),
     (afterheader + r".{79,}", "summary line too long (limit is 78)"),
-    (r"\n\+\n( |\+)\n", "adds double empty line"),
-    (r"\n \n\+\n", "adds double empty line"),
     # Forbid "_" in function name.
     #
     # We skip the check for cffi related functions. They use names mapping the



To: mjpieters, #hg-reviewers, durin42, indygreg
Cc: durin42, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list