Patchwork D10542: revlog: fix some comment style

login
register
mail settings
Submitter phabricator
Date May 1, 2021, 12:49 p.m.
Message ID <differential-rev-PHID-DREV-2uxd4fo44nogvi7cu3hb-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48861/
State Superseded
Headers show

Comments

phabricator - May 1, 2021, 12:49 p.m.
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




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

Patch

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);