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

svn switch --relocate tries to relocate committed deleted directories

From: Jojakim Stahl <JStahl_at_demig.de>
Date: 2005-12-08 09:29:52 CET

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

Joja

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 8 12:25:04 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.