I don't understand this problem in detail, but I've seen it before. The
central issue seems to be that Subversion refuses to delete any file from a
working copy that it does not know is safely stored in the repository. It
looks like when you attempted to switch to /trunk, Subversion determined
that it needed to delete ...\common\lib\DAL, but that folder contained a
non-versioned file, so Subversion refused to delete it.
I think the solution is to manually delete DAL.
I believe that Subversion should make an exception in that it should be
willing to delete unversioned files that are mentioned in svn:ignore.
Dale
-----Original Message-----
From: Stroemfeldt, Casper (CDS-VPI) [mailto:STR@euro.who.int]
Sent: Friday, December 03, 2004 8:00 AM
To: 'users@subversion.tigris.org'
Subject: Won't delete locally modified directory
Greetings,
Please forgive if this description is a bit mangled. I've tried to
reconstruct from memory.
In a branch I create two folders in my WC (under c:\...\common\lib).
Add files to both folders and commit. Both folders now contains versioned
and non-versioned files.
attempt to switch to /trunk
error: Won't delete locally modified directory c:\...\common\lib (this
contains the two new folders)
But I had just before this committed and made sure that "There's nothing for
TSVN to do here!"
I try to swith to trunk again (with commandline svn):
Error: Working copy 'common/lib/DAL' not locked
So I do "cleanup"
Error: 'common/lib/DAL' is not a working copy directory
So this has been switched to /trunk?
I delete 'common/lib/DAL' since it doesn't belong in trunk anyway (yet)
I switch again
Error: Working copy path 'common/lib' does not exist in repository
It does exist, I can see it with repo browser.
I have gotten into a similar situation earlier where my solution was to wipe
the WC and do a
fresh checkout. I don't really enjoy doing that though so any suggestions
would be appreciated.
Server: svn 1.1.1 on Win2k
Client: TSVN 1.1.1 / svn 1.1.1 on WinXP
I use the svn:// protocol.
Thanks,
Casper
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 3 15:56:34 2004