[PATCH] cext: clang-format new code coming from stable branch

Yuya Nishihara yuya at tcha.org
Thu Jan 10 13:48:30 UTC 2019


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1547123364 -32400
#      Thu Jan 10 21:29:24 2019 +0900
# Node ID 33b5a23d3b3b5a8fed27e34987bbef9749e84dd7
# Parent  3dcc96582627ac701b730cf09a3bc967768a5dbe
cext: clang-format new code coming from stable branch

diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c
+++ b/mercurial/cext/revlog.c
@@ -995,8 +995,8 @@ static inline int index_baserev(indexObj
 	if (result < -1) {
 		PyErr_Format(
 		    PyExc_ValueError,
-		    "corrupted revlog, revision base out of range: %d, %d",
-		    rev, result);
+		    "corrupted revlog, revision base out of range: %d, %d", rev,
+		    result);
 		return -2;
 	}
 	return result;


More information about the Mercurial-devel mailing list