D7103: dirs: tag a struct as not being formattable

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Oct 16 00:08:25 EDT 2019


Closed by commit rHGbe178b5d91c8: dirs: tag a struct as not being formattable (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7103?vs=17171&id=17190

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7103/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7103

AFFECTED FILES
  mercurial/cext/dirs.c

CHANGE DETAILS

diff --git a/mercurial/cext/dirs.c b/mercurial/cext/dirs.c
--- a/mercurial/cext/dirs.c
+++ b/mercurial/cext/dirs.c
@@ -27,10 +27,12 @@
  * We modify Python integers for refcounting, but those integers are
  * never visible to Python code.
  */
+/* clang-format off */
 typedef struct {
 	PyObject_HEAD
 	PyObject *dict;
 } dirsObject;
+/* clang-format on */
 
 static inline Py_ssize_t _finddir(const char *path, Py_ssize_t pos)
 {



To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list