changeset 47035:4f2b5f9d8cc4

revlog: fix some comment style They displease check-code. Differential Revision: https://phab.mercurial-scm.org/D10542
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 01 May 2021 14:47:33 +0200
parents 0d8ff1f4ab0c
children 5e64c93d5f94
files mercurial/cext/revlog.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cext/revlog.c	Thu Apr 08 00:01:11 2021 +0200
+++ b/mercurial/cext/revlog.c	Sat May 01 14:47:33 2021 +0200
@@ -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);