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

Re: Need help committing transactions

From: Matt Trost <matt.trost_at_vistashare.com>
Date: Thu, 10 Jan 2008 10:56:18 -0500
Yes - I'm using the "svnadmin load" command.  The transactions were placed into the db directory in the repository (D:\SVNRepository\db\transactions).  There are ten transactions waiting to be committed.  I'm using SVN 1.4.5 on a Windows Terminal Server 2000 machine now - it was 2003.

This is the script in the post-commit hook batch file that created the incremental revision file (as far as I can remember):

REM do an incremental backup of the commit

@ECHO OFF

REM %1 = repository path, %2 = revision number

SET REVISION=%2
svnadmin dump D:\SVNRepository\ -r %REVISION%:%REVISION% > path-to-backup-directory\revision%REVISION% --incremental

Maybe this hook script wasn't functioning properly and was creating bogus files.

I removed the last transaction and used the following command to try to reload it:

svnadmin load path-to-repository < path-to-file\revision316

This is the output/message that I got back:

<<< Started new transaction, based on original revision 316
     * adding path : mpps ...svnadmin: File already exists: filesystem 'path-to-repository/db', transaction '306-10', path 'mpps'


Ryan Schmidt wrote:
On Jan 9, 2008, at 16:02, Matt Trost wrote:

I recently experienced every developers' nightmare - the server crashed.  I have my SVN repository back in place on a different server, and I luckily had both a full backup (hot copy) and the incremental revisions committed after the last hot copy.  When I loaded these incremental revisions back into the repository it created transactions, but didn't commit them.  I can't figure out how to get them committed so that I can get back to work.

Strange.

Presumably you're using "svnadmin load" to load the incremental revisions into the new repository? What's the exact command you're using? And what's the error output, if any? Are the permissions on the repository OK? What version of SVN do you have and on what OS?


--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on 2008-01-10 16:56:39 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.