Patchwork cext: clang-format new code coming from stable branch

login
register
mail settings
Submitter Yuya Nishihara
Date Jan. 10, 2019, 1:48 p.m.
Message ID <33b5a23d3b3b5a8fed27.1547128110@mimosa>
Download mbox | patch
Permalink /patch/37618/
State Accepted
Headers show

Comments

Yuya Nishihara - Jan. 10, 2019, 1:48 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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
Augie Fackler - Jan. 18, 2019, 9:48 a.m.
On Thu, Jan 10, 2019 at 10:48:30PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@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

queued, thanks

Patch

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;