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

Re: svn switch --relocate tries to relocate committed deleted directories

From: David James <james82_at_gmail.com>
Date: 2005-12-09 06:00:24 CET

On 08 Dec 2005 20:16:37 -0600, kfogel@collab.net <kfogel@collab.net> wrote:
> "Jojakim Stahl" <JStahl@demig.de> writes:
> > I'm using svn version 1.2.3 on windows xp.
> >
> > If there is a committed directory deletion within your working copy, svn
> > switch --relocate fails with the following message:
> >
> > svn: Arbeitskopie 'dir2' fehlt oder nicht gesperrt
> > english: svn: Working copy 'dir2' missing or not locked
> >
> > I posted this to the users mailing list already, receiving confirmation and
> > a hint where to look for the problem:
> > <http://svn.haxx.se/users/archive-2005-12/0355.shtml>
> >
> > The following is how to reproduce the problem on a Windows XP machine:
> >
> > c:
> > cd \
> > md svntest
> > cd svntest
> > svnadmin create repos
> > md initial
> > md initial\dir1
> > md initial\dir2
> > svn import initial file:///c:/svntest/repos -m "Initial import"
> > svn co file:///c:/svntest/repos work
> > svn rm work\dir2
> > svn ci work -m "Delete dir2"
> > ren repos repos2
> > cd work
> > svn switch --relocate file:///c:/svntest/repos file:///c:/svntest/repos2
>
> This is a beautiful report and reproduction recipe, thank you!
>
> Would you be willing to file an issue for this? Just make sure the
> bug reproduces with the latest trunk code, put the reproduction recipe
> into the issue, and point to this mail thread. (I looked to see if
> this was already filed, and didn't find anything.)
>
> If it doesn't reproduce with trunk, then it's probably been fixed
> since 1.2.3.
Looks like it's been fixed! The recipe works fine for me (on Linux)
using trunk. Has anyone tried with 1.3.0rc4? It's quite possible that
this problem was fixed during wc-replacements, in which case we won't
see the fix until 1.4.0.

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
Received on Fri Dec 9 06:01:19 2005

This is an archived mail posted to the Subversion Dev mailing list.