SVN diff parser failed on property change


#1

Observed Behavior:
To commit an added file following by a property change in svn repo failed, when enormous change protection is enabled.

Content Exception: Diff Parse Exception: Unexpected "-" section in property addition.

         12   ## -0,0 +1 ##
         13   +*
         14   \ No newline at end of property
         15   Added: helloworld2.sh
         16   ===================================================================
         >>>       17   --- helloworld2.sh	                        (rev 0)
         18   +++ helloworld2.sh	2018-08-03 01:25:12 UTC (txn 0-0)
         19   @@ -0,0 +1 @@
         20   +echo "Hello world 2!"
         21   
         22   

Expected Behavior:
SVN commit executes successfully.

Phabricator Version:

phabricator

79c15e936cf64fe3d4de322ec1ebbb434fdc7c63 (Fri, Jul 27) (branched from 9e451879d9984b9ad5ff80799ce7f4e3e2c7f9b4 on origin)

arcanist

830661f62833e4601e31854532321bb30be74440 (Fri, Jul 20) (branched from 875d018360374cb4b1287309782fcb9a75d4bcbf on origin)

phutil

340445cf69474ce4246c49bfaaa694851b9b0a48 (Fri, Jul 20) (branched from 1613e68f474030e2c8de2797080a6872c140b1ef on origin)

libcore

ca4ae2cb7c348469182ac64ebc0f52e1ebc27a2d (Thu, Jul 26)

services

fe90f9e80cbdc0fdf5984bcde27510185b5b9d48 (Fri, Jul 27) (branched from 019a12a6556da007b531662d9f7f61f2c6466821 on origin)

Reproduction Steps:

  • Create a new repository
  • svn checkout svn+ssh://repository
  • Create two files helloworld1.sh helloworld2.sh
  • chmod +x *
  • Add two files to svn
  • svn commit -m “Init”

#2

I can reproduce this issue on https://secure.phabricator.com/diffusion/SVNTEST/ as well