[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: John Szakmeister <john_at_szakmeister.net>
Date: 2006-05-10 11:45:20 CEST

[snip]
>
> 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

I've been unable to reproduce the error using 3 different repositories, and a number of different ranges that depend on previous revisions with either recipe. :-( Is it possible for you to send me (privately) the dump files from the above dumps? That might help shed light on the problem.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 10 11:46:33 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.