Rev 1764: Fix removing of file properties. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Wed Dec 3 19:32:35 GMT 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1764
revision-id: jelmer at samba.org-20081203193232-17tqlhwre2t9eavw
parent: jelmer at samba.org-20081119130100-0t6381c1p45re08k
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Wed 2008-12-03 20:32:32 +0100
message:
Fix removing of file properties.
modified:
NEWS news-20061231030336-h9fhq245ie0de8bs-1
editor.c editor.c-20080602191336-frj7az1sdk13o1tw-1
=== modified file 'NEWS'
--- a/NEWS 2008-11-19 13:01:00 +0000
+++ b/NEWS 2008-12-03 19:32:32 +0000
@@ -12,6 +12,8 @@
* Set bzr:user-agent revision property, e.g. to allow blacklisting
in the future.
+ * Fix removing of file properties. (#304866)
+
bzr-svn 0.4.15 2008-11-10
BUG FIXES
=== modified file 'editor.c'
--- a/editor.c 2008-10-30 19:12:11 +0000
+++ b/editor.c 2008-12-03 19:32:32 +0000
@@ -199,7 +199,7 @@
c_value.len = vallen;
RUN_SVN(editor->editor->change_file_prop(editor->baton, name,
- &c_value, editor->pool));
+ (c_value.data == NULL)?NULL:&c_value, editor->pool));
Py_RETURN_NONE;
}
@@ -370,7 +370,7 @@
c_value.len = vallen;
RUN_SVN(editor->editor->change_dir_prop(editor->baton, name,
- &c_value, editor->pool));
+ (c_value.data == NULL)?NULL:&c_value, editor->pool));
Py_RETURN_NONE;
}
More information about the bazaar-commits
mailing list