Emptying a File's Content Requires "Text-content-length: 0"

Nathan Kidd nathan-svn at spicycrypto.ca
Mon Jan 21 16:33:00 EST 2008


Hi,

I found a bug in trunk at r334 where when a file is changed to be empty (0
bytes) the generated dumpfile has no effect when svnadmin load'ed.  I
found that for svnadmin to recognize the file will be 0 bytes after
loading you must have a header:

Text-content-length: 0


Simply having empty lines after the node headers isn't enough.
(Tested with svnadmin 1.4.4)

Sorry this is niether a patch (no time) nor a Ticket (no access, AFAIK).

-Nathan



More information about the vss2svn-users mailing list