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

Re[2]: Checkout/Commit/Discard workflow

From: Brian Smither <bhsmither_at_gmail.com>
Date: Wed, 29 Sep 2010 13:58:34 -0600

>On 27.09.2010 22:30, Brian Smither wrote:
>> 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 [or
>>disturb] the [existing] folder hierarchy [or their contents].

On 9/29/2010 at 8:17 PM Stefan Küng wrote:
>[In your working copy,] right-click on the parent folder,
>[even if it might be the root of your WC],
>TortoiseSVN->Update to revision::Only this item

This must be a as-good-as-it-currently-gets approach as "all the items in that folder will get removed," and presumably all the folder/file hierarchy below it. If I understand this procedure correctly, it looks like overkill.

I tried on an insignificant folder low in the hierarchy. Let's call it BAR, BAR's parent is called FOO, and BAR has only single-child descendants, and only the bottom descendant has two files in it: one versioned, one with a file extension on the ignore list.

After the Update to Revision finished, BAR still had its generations of child folders. The one single versioned file was removed.

Some of the child folders lost the .svn folder, some retained the .svn folder. Of those affected folders that have the .svn folder, the folder icon adopted a black circle with a white question mark in it. I don't see that in 4.7.1 Icon Overlays. (The very bottom folder had an "ignored" file in it. Which I used Windows Explorer to manually delete.) I then did this procedure on FOO. BAR and all its child folders remained, the same few still having that overlay icon.

>To get other files back, do the same as you did
>to get that specific file.

Hmm... No.

But don't read this the wrong way. The salient fact that your reply did provide a procedure to examine and experiment with is greatly appreciated. I just don't see it as being imminently practical.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2666218

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-29 21:56:44 CEST

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