[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: Hughes, Trystan <Trystan.Hughes_at_assetco.com>
Date: 2005-06-20 09:59:36 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 ...'

What I want to do is to delete a work copy (of a file or folder) that I checked out. So If I completely balls up a file, I want to delete it locally and then re-check out that individual file/folder - but your saying I cant do this as its not the proper method.

>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
>ti.me 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.
 
Uhmm, now I don't think they will be very happy if I tell them to include this, do you? The fact that may email servers and admin people are over the other side of the country means I'm not gonna waste time phoning them up to get it sorted. If there was/is a way to remove the disclaimer from within Outlook (online) then that would be cool.
 
Tryst

The views expressed in this e-mail are not necessarily the views of AssetCo Group Limited,
its directors, officers or employees make no representation or accept any
liability for its accuracy or completeness unless expressly stated to the contrary.
This e-mail, and any attachments are strictly confidential and intended for the addressee(s) only.
The content may also contain legal, professional or other privileged information. Unless expressly
stated to the contrary, no contracts may be concluded on behalf of AssetCo Group Limited by means of
e-mail communication. You may report the matter by calling us on +44 (0)118 906 8000.
Please ensure you have adequate virus protection before you open or detach any documents from this
transmission. AssetCo Group Limited does not accept any liability for viruses. AssetCo Group Limited
is registered in England: Company number: 4450947
Registered Office: Davidson House, Forbury Square, Reading, Berkshire RG1 3GA
Received on Mon Jun 20 09:55:59 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.