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

Re: [TSVN] Deleting Local Copy of file/directory.

From: Simon Large <slarge_at_slarge.plus.com>
Date: 2005-06-17 11:40:42 CEST

Hughes, Trystan wrote:
> If within my working directory I want to delete a subfolder (or file
> for that matter) and then run an 'Update' TortoiseSVN command on my
> working copy, would a new copy of this deleted folder be put back
> into my working directory from the Repository without any screw ups?
>
> I'm thinking that if I do delete the folder then the '.svn' folder
> will still hold a reference to the local working folder that I
> deleted and so when I try an 'Update' on my working project and error
> might be thrown.
>
> Is there actually a correct procedure for doing what I want to do?

You didn't say what you want to do. You just asked 'what happens if ...'

If you want the folder to be removed from version control, ie deleted
from your WC and the repository, use SVN delete.

If you delete a folder in explorer, you will be unable to commit. Next
time you update, the folder and its contents will be replaced from the
repository. This is SVN repairing the damage you have done. It is not a
recommended procedure.

If you have a folder which you do not want added to version control at
all, you need to svn:ignore it.

[snip disclaimer which is longer than the message itself]

If your company attaches a so called disclaimer to every mail, please
contact your IT department and ask them to remove it. If you don't know
how to convince them, just ask them to replace the disclaimer with this
one:

We don't know how to use the security and encryption features of our
e-mail server. We are so confused that we cannot even be certain that
this e-mail was delivered to the proper person. So, if you received this
e-mail because of our incompetence, please delete it and notify us as
soon as possible. Notice that this is being written in the most scary
legalistic way, so no one notices how incompetent we are.

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 Fri Jun 17 11:39:48 2005

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

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