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

Re: Can't commit because current already exists

From: Flavio Stanchina <flavio_at_stanchina.net>
Date: 2007-03-12 21:55:06 CET

Larry Martell wrote:
> We have a SVN repository on windows. Starting today, no one can commit.
> Attempts to commit fail with:
>
> Error Commit failed
> Can't move 'H:\path\to\svn\repo\db\current.21.tmp' to
> 'H:\path\to\svn\repo\db\current':
> Cannot create a file when that file already exists.
> [...]
> Right now I need to know how I can clean this up so developers can
> commit again?
> (And once that crisis is passed, I'd like to know how this happened.)

Dump the repository, move away the original and load the dump in a fresh
repo. Hopefully that should fix the problems.

Then you might want to check what's different between the broken repo and
the fresh one.

<rant>
That 'H:' drive letter makes me suspect that you're storing the repo on a
network drive. I would rather do version control with pencil and paper than
keep a repo on a network drive. If that's actually what you're doing, set
up a server instead.
</rant>

-- 
Ciao, Flavio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 12 21:55:29 2007

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.