Rev 1620: Don't pass has_children at all if we don't know the value. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Sat Aug 23 16:43:08 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1620
revision-id: jelmer at samba.org-20080823154306-1a7dhe1t7og0jrlg
parent: jelmer at samba.org-20080823153817-9uyfaqeu8un4umjl
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-08-23 17:43:06 +0200
message:
Don't pass has_children at all if we don't know the value.
modified:
logwalker.py logwalker.py-20060621215743-c13fhfnyzh1xzwh2-1
util.c util.c-20080531154025-s8ef6ej9tytsnkkw-1
=== modified file 'logwalker.py'
--- a/logwalker.py 2008-08-23 14:55:24 +0000
+++ b/logwalker.py 2008-08-23 15:43:06 +0000
@@ -437,7 +437,7 @@
else:
todo_revprops = ["svn:author", "svn:log", "svn:date"]
- def rcvr(orig_paths, revision, revprops, has_children):
+ def rcvr(orig_paths, revision, revprops, has_children=None):
nested_pb.update('fetching svn revision info', revision, to_revnum)
if orig_paths is None:
orig_paths = {}
=== modified file 'util.c'
--- a/util.c 2008-08-01 20:55:49 +0000
+++ b/util.c 2008-08-23 15:43:06 +0000
@@ -223,8 +223,8 @@
PyDict_SetItemString(revprops, SVN_PROP_REVISION_DATE,
PyString_FromString(date));
}
- ret = PyObject_CallFunction((PyObject *)baton, "OlOb", py_changed_paths,
- revision, revprops, FALSE);
+ ret = PyObject_CallFunction((PyObject *)baton, "OlO", py_changed_paths,
+ revision, revprops);
Py_DECREF(py_changed_paths);
Py_DECREF(revprops);
CB_CHECK_PYRETVAL(ret);
More information about the bazaar-commits
mailing list