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

Steps to repro: Revision file lacks trailing newline (bug 2453)

From: Aaron Siri <Aaron.Siri_at_efi.com>
Date: 2006-01-31 21:26:00 CET

I think I have a script (below) which reproduces SVN bug 2453 ("FSFS commits
>2GB pass but fail verify on Linux, with APR patch").

This was using HTTPD 2.2.0 + Subversion 1.3.0 (FSFS) + Fedora Core 3 (saw the
same error on OS X with HTTPD 2.0.55 and HTTPD 2.2.0). This assumes an empty
(Revision 0) FSFS repository called "bigtest". Please note that these steps
can take a while to execute. I tried just using a single big 3GB file but I
got a content length error and bucket brigade error (may have been due to
some limit in httpd.conf). I tried using just 8 of these files and the
import worked. The inclusion of the 9th file triggers the error. Let me
know if there are any questions.


$ mkdir bigtest
$ cd bigtest
$ ## Create a ~500MB file
$ dd if=/dev/urandom bs=1024 count=500000 of=500mb.file
$ ## Copy the file to create a total of 9 files
$ for ((x=1; x < 9; x++)) ; do cp 500mb.file 500mb$x.file; done;
$ cd ..
$ ## Import the bigtest directory into the repository
$ svn import -m "SVN Test" bigtest http://localhost/svn/bigtest
Adding (bin) bigtest/500mb.file
Adding (bin) bigtest/500mb1.file
Adding (bin) bigtest/500mb2.file
Adding (bin) bigtest/500mb3.file
Adding (bin) bigtest/500mb4.file
Adding (bin) bigtest/500mb5.file
Adding (bin) bigtest/500mb6.file
Adding (bin) bigtest/500mb7.file
Adding (bin) bigtest/500mb8.file
svn: MERGE request failed on '/svn/bigtest'
svn: Revision file lacks trailing newline

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 31 21:27:28 2006

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

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