You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jan Normann Nielsen <li...@dubbekarl.dk> on 2005/05/27 12:17:22 UTC

Error message "Won't delete locally modified directory" on switch

Hey all

I don't understand why I sometimes receive this error message:

svn: Won't delete locally modified directory '[some-directory]'
svn: Left locally modified or unversioned files

when I switch my wc from one branch to another using:

svn switch https://myserver.net/svn/crm/branches/mybranch-2

when the wc was previously located on

https://myserver.net/svn/crm/branches/mybranch-1

I have run an svn status right before I perform the switch and that one 
shows nothing modified.

Best regards,
Jan Nielsen


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error message "Won't delete locally modified directory" on switch

Posted by Ben Collins-Sussman <su...@collab.net>.
On May 27, 2005, at 7:17 AM, Jan Normann Nielsen wrote:

> Hey all
>
> I don't understand why I sometimes receive this error message:
>
> svn: Won't delete locally modified directory '[some-directory]'
> svn: Left locally modified or unversioned files
>

If the server tells the client to remove a directory (during 'update'  
or 'switch'), the client will not remove it completely if it contains  
either modified files, or unversioned files.  It will remove  
everything *except* the modified/unversioned things.


> I have run an svn status right before I perform the switch and that  
> one shows nothing modified.
>

Yes, but it probably has unversioned files in it.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org