equal
deleted
inserted
replaced
156 |
156 |
157 static PyObject *parse_dirstate(PyObject *self, PyObject *args) |
157 static PyObject *parse_dirstate(PyObject *self, PyObject *args) |
158 { |
158 { |
159 PyObject *dmap, *cmap, *parents = NULL, *ret = NULL; |
159 PyObject *dmap, *cmap, *parents = NULL, *ret = NULL; |
160 PyObject *fname = NULL, *cname = NULL, *entry = NULL; |
160 PyObject *fname = NULL, *cname = NULL, *entry = NULL; |
161 char *str, *cur, *end, *cpos; |
161 char state, *str, *cur, *end, *cpos; |
162 int state, mode, size, mtime; |
162 int mode, size, mtime; |
163 unsigned int flen; |
163 unsigned int flen; |
164 int len; |
164 int len; |
165 |
165 |
166 if (!PyArg_ParseTuple(args, "O!O!s#:parse_dirstate", |
166 if (!PyArg_ParseTuple(args, "O!O!s#:parse_dirstate", |
167 &PyDict_Type, &dmap, |
167 &PyDict_Type, &dmap, |