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

Re: [TSVN] 'not a working copy' when deleting root working folder

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-08-25 10:14:41 CEST

Mark Sanford wrote:
> 1) Create a folder "C:\source\test_working_copy"
> 2) Do a "SVN Checkout..." on this folder to get a
> working copy.
> 3) Right click on this folder and do a "TortoiseSVN >
> Delete"
> 4) I get a message "'C:\source' is not a working copy"
>
> This is not what I expected, which was: delete the
> folder. Note the folder in the error message is not
> the folder I was trying to delete. I am able to
> "TortoiseSVN > Delete" folders within
> c:\source\test_working_copy, just not the root working
> copy folder. Everything else (commit, revert, etc.)
> seems to work fine.

What were you trying to achieve?

I am guessing you just wanted to delete the local working copy. If that
is the case, just use a normal Windows delete instead. The working copy
is entirely contained within its top level folder. Checking out a
working copy leaves no mark on the repository, so when you have finished
with it you just discard it. BTW, if you move it to the recycle bin, you
should empty the recycle bin sometime soon. The .svn folders contain
lots of small files which really hit recycle performance. Alternatively,
shift-delete and bypass the recycler entirely.

If you use "TortoiseSVN > Delete" you are telling Subversion that you
want to remove that file/folder from version control. If you want to do
that, you have to do it from the level above (because the parent folder
contains the control file for the folder you are deleting). Or as Tatham
Oddie suggested, use repo browser and delete it directly in the repository.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 25 10:14:21 2005

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