=== modified file 'subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c' --- subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c 2007-12-04 18:17:51 +0000 +++ subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c 2007-12-14 12:24:11 +0000 @@ -380,8 +380,8 @@ item = NULL; \ else \ goto finished; + append(message_ob); append(apr_err_ob); - append(message_ob); append(file_ob); append(line_ob); #undef append @@ -795,12 +795,6 @@ DECLARE_SWIG_CONSTRUCTOR(commit_info, svn_commit_info_dup) DECLARE_SWIG_CONSTRUCTOR(wc_notify, svn_wc_dup_notify) -static PyObject *convert_log_changed_path(void *value, void *ctx, - PyObject *py_pool) -{ - return make_ob_log_changed_path(value); -} - PyObject *svn_swig_py_c_strings_to_list(char **strings) { PyObject *list = PyList_New(0); @@ -837,11 +831,11 @@ for (hi = apr_hash_first(NULL, hash); hi; hi = apr_hash_next(hi)) { const void *key; - void *val; + svn_log_changed_path_t *val; PyObject *value; apr_hash_this(hi, &key, NULL, &val); - value = make_ob_log_changed_path(val); + value = Py_BuildValue("csi", val->action, val->copyfrom_path, val->copyfrom_rev); if (value == NULL) { Py_DECREF(dict); @@ -853,7 +847,7 @@ Py_DECREF(dict); return NULL; } - Py_DECREF(value); + Py_DECREF(value); } return dict; @@ -2410,16 +2404,7 @@ goto finished; } - if (changed_paths) - { - chpaths = convert_hash(changed_paths, convert_log_changed_path, - NULL, NULL); - } - else - { - chpaths = Py_None; - Py_INCREF(Py_None); - } + chpaths = svn_swig_py_changed_path_hash_to_dict(changed_paths); if ((result = PyObject_CallFunction(receiver, (char *)"OlsssO",