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

Re: Recovering from crashed commit?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-07 19:59:40 CET

On Dec 7, 2004, at 12:50 PM, Talley, Brooks wrote:

> Last night, I went to commit about 300 new files to a repository. This
> morning, I discovered that the commit had failed; it was just sitting
> there about 100-some-odd files into the process. These are all smallish
> files (<10k), so it's not like it was still uploading.
>
> I went ahead and killed the svn process, and did a cleanup on my
> working
> directory. However, now I'm in a state where if I try to do a commit,
> it complains about some of the added files already existing in the
> repository. And if I do an update of my working copy, it complains
> about some of the files that were added already existing in my working
> copy.
>
> Any ideas on how to recover from this?
>

This means the commit wholly succeeded in the repository, but your
working copy was never informed of the fact. The solution is to
either:

   1. 'svn revert . -R' your working copy and remove all the resulting
unversioned files, so that 'svn up' can re-add them, or

   2. just checkout a new working copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 7 20:02:09 2004

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.