[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sequence of SVN commits cannot be replayed

From: sebb <sebbaz_at_gmail.com>
Date: Mon, 24 Mar 2014 14:06:00 +0000

On 23 March 2014 11:18, Philip Martin <philip.martin_at_wandisco.com> wrote:
> Daniel Shahaf <d.s_at_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.

So what is the next stage in getting this inconsistency fixed ?
Do I have to create a Bugzilla entry or will someone else take care of that?

> --
> Philip Martin | Subversion Committer
> WANdisco // *Non-Stop Data*
Received on 2014-03-24 15:06:34 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.