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

RE: Re: Help - possible bug in Subversion!

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-06-04 23:47:46 CEST

On Fri, 2004-06-04 at 16:40, Ray Johnson wrote:

> Is it safe to do the following:
>
> 1) rename the directory that was corrupted
> 2) do an "svn update" in the parent of the corrupted directory (which
> would create a new (and fixed version of the corrupted directory)
> 3) replace the directories and files in the new directory with those
> from the corrupted directory.

Yes, that's fine. It's the same recipe, but I assume you're trying to
preserve local mods in the original directory. Hence you move it out of
the way before having 'svn up' recreate it.

There's one other way to fix this problem, but you NEVER HEARD it from
me. Certainly not from an svn developer!

* open the corrupted .svn/entries file
* add an xml attribute to the first entry: incomplete="true"
* save, and run 'svn up'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 23:49:01 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.