5059: Cannot upload svn diff with only file metadata (permission) changes

joward

What version are you running?

$ rbt --version
RBTools 5.3 (Python 3.10.12)

What's the URL of the page containing the problem?

On a self-hosted instance.

What steps will reproduce the problem?

  1. svn propset svn:executable ON [file(s)]
  2. svn diff > diff.txt
  3. rbt post [--server=...]

What is the expected output? What do you see instead?

rbt post refuses to upload, giving this error:

ERROR: Error validating diff

The specified diff file is empty. (API Error 219: Empty Diff)

What operating system are you using? What browser?

Ubuntu, Firefox

Please provide any additional information below.

The diff does show the changes.

$ svn diff
Index: [file]
===================================================================
--- [file]
+++ [file]

Property changes on: [file]
___________________________________________________________________
Added: svn:executable