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

Re: svn: Can't open file '/srv/svn/repos/oneiros/db/txn-current': No such file or directory

From: Martin Schröder <martin_at_oneiros.de>
Date: Sun, 22 Jun 2008 22:29:35 +0200

2008/6/22 Daniel Shahaf <d.s_at_daniel.shahaf.co.il>:
> Hmm. 'svnadmin verify' doesn't complain if txn-current is missing, and
> 'svnadmin recover' doesn't recreate it either. However, 'svnadmin dump'
> doesn't complain either! So, a dump|load might work for you:
>
> % svn --version -q
> 1.5.0-final
> % svnlook youngest repos1
> 1
> % rm -f repos1/db/txn-current
> % svnadmin create repos2
> % svnadmin -q dump repos1 | svnadmin -q load repos2
> % svnlook youngest repos2
> 1
> % cat repos2/db/txn-current
> 1
> # swap the repositories, relocate the wc, and commit. Works.

Thanks. It would probably enough to copy repos2/db/txn-current to
repos1/db/txn-current, right?

Best
   Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-22 22:29:54 CEST

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.