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

error: Revision file lacks trailing newline

From: Alexander Shenkin <subversion_at_shenkin.org>
Date: Fri, 09 Nov 2012 15:14:12 -0500

Hello Folks,

I was getting an error while trying to checkout a directory, and some
investigation with VisualSVN's server manager turned up an error in a
couple of files ("Corrupt node-revision '5-2893.0.r2893/0' Missing id
field in node-rev").

I then ran svnadmin verify, and got the following:

    ...
    * Verified revision 2433.
    * Verified revision 2434.
    * Verified revision 2435.
    svnadmin: E160004: Revision file (r2436) lacks trailing newline

Looking online seems to indicate that this might have to do with commits
> 4GB, though that was an old problem. Given that more than 1 file was
problematic in the server manager, I figure there might be more than one
corrupted revision. The damaged files aren't critical and haven't
changed since being committed for the first time. I have working copies
of them.

Any thoughts about how I might go about repairing the repo?

Thanks,
Allie

VisualSVN Server 2.5.2
svn 1.7.7
Win 7 Pro x64 SP1
TortoiseSVN 1.7.10
Received on 2012-11-09 21:15:07 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.