# HG changeset patch # User Gregory Szorc # Date 1506967560 -3600 # Node ID b90e8da190da05f5e36d0ea7104330863c66053a # Parent ce26a13869fb48d81e1fcb5193e631180d75312b cext: reorder #include We mostly abide by this style. In one case, a blank line was inserted to prevent a local `#include "file"` from coming before a `#include `. Differential Revision: https://phab.mercurial-scm.org/D908 diff -r ce26a13869fb -r b90e8da190da mercurial/cext/bdiff.c --- a/mercurial/cext/bdiff.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/bdiff.c Mon Oct 02 19:06:00 2017 +0100 @@ -11,9 +11,9 @@ #define PY_SSIZE_T_CLEAN #include +#include #include #include -#include #include "bdiff.h" #include "bitmanipulation.h" diff -r ce26a13869fb -r b90e8da190da mercurial/cext/dirs.c --- a/mercurial/cext/dirs.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/dirs.c Mon Oct 02 19:06:00 2017 +0100 @@ -9,6 +9,7 @@ #define PY_SSIZE_T_CLEAN #include + #include "util.h" #ifdef IS_PY3K diff -r ce26a13869fb -r b90e8da190da mercurial/cext/manifest.c --- a/mercurial/cext/manifest.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/manifest.c Mon Oct 02 19:06:00 2017 +0100 @@ -9,8 +9,8 @@ #include #include +#include #include -#include #include "charencode.h" #include "util.h" diff -r ce26a13869fb -r b90e8da190da mercurial/cext/mpatch.c --- a/mercurial/cext/mpatch.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/mpatch.c Mon Oct 02 19:06:00 2017 +0100 @@ -25,10 +25,10 @@ #include #include -#include "util.h" #include "bitmanipulation.h" #include "compat.h" #include "mpatch.h" +#include "util.h" static char mpatch_doc[] = "Efficient binary patching."; static PyObject *mpatch_Error; diff -r ce26a13869fb -r b90e8da190da mercurial/cext/osutil.c --- a/mercurial/cext/osutil.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/osutil.c Mon Oct 02 19:06:00 2017 +0100 @@ -9,15 +9,15 @@ #define _ATFILE_SOURCE #include +#include #include #include #include #include -#include #ifdef _WIN32 +#include #include -#include #else #include #include diff -r ce26a13869fb -r b90e8da190da mercurial/cext/parsers.c --- a/mercurial/cext/parsers.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/parsers.c Mon Oct 02 19:06:00 2017 +0100 @@ -12,9 +12,9 @@ #include #include +#include "bitmanipulation.h" #include "charencode.h" #include "util.h" -#include "bitmanipulation.h" #ifdef IS_PY3K /* The mapping of Python types is meant to be temporary to get Python diff -r ce26a13869fb -r b90e8da190da mercurial/cext/revlog.c --- a/mercurial/cext/revlog.c Mon Oct 02 19:02:43 2017 +0100 +++ b/mercurial/cext/revlog.c Mon Oct 02 19:06:00 2017 +0100 @@ -13,9 +13,9 @@ #include #include +#include "bitmanipulation.h" #include "charencode.h" #include "util.h" -#include "bitmanipulation.h" #ifdef IS_PY3K /* The mapping of Python types is meant to be temporary to get Python