D10542: revlog: fix some comment style

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat May 1 12:49:57 UTC 2021


marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  They displease check-code.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/cext/revlog.c

CHANGE DETAILS

diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c
+++ b/mercurial/cext/revlog.c
@@ -367,7 +367,7 @@
 	if (data == NULL)
 		return NULL;
 	if (rev == 0) {
-		// put the header at the start of the first entry
+		/* put the header at the start of the first entry */
 		memcpy(entry, data, self->hdrsize);
 		putbe32(header, entry);
 		return PyBytes_FromStringAndSize(entry, self->hdrsize);



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list