At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1764
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Jelmer Vernooij <[EMAIL PROTECTED]>
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;
 }


-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to