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

Re: svnadmin: Revision file lacks trailing newline

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: 2006-05-09 15:31:10 CEST

On 5/9/06 4:08 AM, "John Szakmeister" <john@szakmeister.net> wrote:

>
> ----- Johnathan Gifford <jgifford@wernervas.com> wrote:
>> While trying to create a new 'test' repository from a dump file from
>> an
>> existing repository, I keep getting this error:
>>
>> svnadmin: Revision file lacks trailing newline
>>
>> I consistently get this error immediately after the initial revision
>> is
>> loaded into the new repository when the following incremental revision
>> is
>> trying to load. I've tried a single dump file that contain all the
>> revisions. I tried two separate files, one with the entire initial
>> revision
>> and another with only the incremental revisions.
>>
>> Anyone have any ideas?
>
> Can you provide a few more details? What version of Subversion you're using?
> What platform? Also, a reproduction recipe, or at least a transcript of your
> actions would be useful.
>
> -John
>

Platform: Mac OS X Server 10.4.5
Server: Subversion 1.3.0 with Apache 2.2

Reproduction 1:

1) Get a range of revisions. In my case r13669 - r13678. At least one
revision must depend on a previous revision.

2) Dump the revision set with the following command:

svnadmin dump myrepos --revision 13669:13678 >
svn-myrepos-r13669-r13678.dump

3) create new repository with the following command:

svnadmin create newrepos

4) Load new repository with dump file using the following command:

svnadmin load newrepos < svn-myrepos-r13669-r13678.dump

Immediately after revision 13669 is loaded, the following error will appear
with loading revision 13670.

svnadmin: Revision file lacks trailing newline

Reproduction 2:

1) Get a range of revisions. In my case r13669 - r13678. At least one
revision must depend on a previous revision.

2) Dump the first revision with the following command:

svnadmin dump myrepos --revision 13669 > svn-myrepos-r13669.dump

3) Dump the rest of the revision with the following command:

svnadmin dump myrepos --revision 13670:13678 ‹incremental >
svn-myrepos-r13670-r13678-inc.dump

4) create new repository with the following command:

svnadmin create newrepos

5) Load new repository with dump file using the following command:

svnadmin load newrepos < svn-myrepos-r13669.dump

6) Load the incremental dump file using the following command:

svnadmin load newrepos < svn-myrepos-r13670-r13678-inc.dump

Immediately the following error will appear with loading revision 13670.

svnadmin: Revision file lacks trailing newline

Hope this helps,

Johnathan
Received on Tue May 9 15:32:54 2006

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.