[PATCH 0 of 6] C: spaces and refcounting

Nicolas Dumazet nicdumz at gmail.com
Thu Aug 27 13:09:09 UTC 2009


Hello -devel!

6 patches:

First one about identation. I was surprised to find a majority of tabs in our
C code. Do we have specific coding guidelines for C?
Anyway, the first patch unificates indentation: use tabs everywhere instead of
a majority of tabs and a few spaces.
(I don't mind chosing tabs, or spaces, as long as we're consistent throught the
C code)

And then other patches are about cleaning up reference counts when returning /
bailing out from CPython functions. Only #4 addresses a real refcount bug, the
others are cleanups.

Thanks,
Nicolas.


More information about the Mercurial-devel mailing list