Daniel Shahaf <d...@daniel.shahaf.name> writes:

> sebb wrote on Sat, Mar 22, 2014 at 01:28:33 +0000:
>> To reproduce the problem, start as follows:
>> 
>> svn co http://dist.apache.org/repos/dist/release/commons/dbcp/@4582
>> 
>> Then apply the following revisions in order:
>> 
>> 4583
>> 4586
>> 4588
>> 4592
>> 4593
>> 4599
>
> I can't reproduce an error with latest svn-1.8.8 from ports on FreeBSD 9.1.

I believe the problem is an svn:special file that contains a '\n'
character:

  svn cat 
https://dist.apache.org/repos/dist/release/commons/dbcp/binaries/HEADER.html@4588
 | od -c
  0000000   l   i   n   k       .   .   /   H   E   A   D   E   R   .   h
  0000020   t   m   l      \r  \n
  0000026

I can reproduce on Linux:

  svnadmin create repo
  printf "link foo\n" > x.x
  svnmucc -mm -U file://`pwd`/repo put x.x f propset svn:special '*' f

Now

  svn co file://`pwd`/repo wc
  svn st wc
  M       wc/f

The reason is that create_special_file_from_stream() reads just the
first line of the file to define the symlink while
svn_wc__internal_file_modified_p() compares against the whole file.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Reply via email to