Mercurial > hg-stable
diff mercurial/cext/revlog.c @ 34438:ce26a13869fb
cext: move braces for control statements to same line
This seems to be the prevailing style in the code by a wide margin.
Differential Revision: https://phab.mercurial-scm.org/D907
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 02 Oct 2017 19:02:43 +0100 |
parents | 0f4ac3b6dee4 |
children | b90e8da190da |
line wrap: on
line diff
--- a/mercurial/cext/revlog.c Mon Oct 02 19:17:04 2017 +0100 +++ b/mercurial/cext/revlog.c Mon Oct 02 19:02:43 2017 +0100 @@ -445,8 +445,7 @@ iter = PyObject_GetIter(list); if (iter == NULL) return -2; - while ((iter_item = PyIter_Next(iter))) - { + while ((iter_item = PyIter_Next(iter))) { iter_item_long = PyInt_AS_LONG(iter_item); Py_DECREF(iter_item); if (iter_item_long < min_idx)