Martin Schröder wrote on Sun, 22 Jun 2008 at 21:29 +0200:
> I'm running SUSE 10.2 with svn from the SUSE Subversion repo.
>
> > LC_ALL=C svn --version
> svn, version 1.5.0 (dev build)
> compiled Jun 5 2008, 16:16:44
>
Not even a Release Candidate, just head of the branch. :(
> After the last update on the 5th I get this error when committing:
> svn: Can't open file '/srv/svn/repos/oneiros/db/txn-current': No such
> file or directory
>
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.
Daniel
> And surely, /srv/svn/repos/oneiros/db/txn-current doesn't exist.
>
> Here's an ls of /srv/svn/repos/oneiros/db/:
> current format fs-type indexes.sqlite revprops revs transactions
> txn-current-lock uuid write-lock
> transactions is empty, txn-current's size is 0.
> svnadmin lstxns /srv/svn/repos/oneiros/ shows no transactions.
>
> Creating an empty /srv/svn/repos/oneiros/db/txn-current only changes
> the error:
> svn: Can't read file '/srv/svn/repos/oneiros/db/txn-current': End of file found
>
> Googling finds http://svn.haxx.se/users/archive-2008-05/0374.shtml
>
> And idea how to fix this or is this a bug?
>
---------------------------------------------------------------------
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:12:34 CEST