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

Re: Checkout/Commit/Discard workflow

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 29 Sep 2010 20:17:54 +0200

On 27.09.2010 22:30, Brian Smither wrote:
[snip]
> What I need now is a [Discard this] function. I no longer desire to
> keep that file in my working copy, but I simply cannot discard the
> folder hierarchy. NOTE: I do not want to SVN -> Delete the file as
> that deletes the file within the next revision.
>
> Help, "Deleting files and folders" has two paragraphs that discuss if
> a file or folder is deleted via the explorer. Update replaces the
> file and my working copy is broken for the folder.
>
> As has been asked numerous times before...
>
> How do I perform a local file delete?

right-click on the parent folder, choose "TortoiseSVN->update to revision"

Then select "Only this item" as the depth, check the "make depth sticky"
(only available in nightly builds from trunk as far as I know).

After that, all the items in that folder will get removed. To get other
files back, do the same as you did to get that specific file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2666199
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-29 20:18:10 CEST

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