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

Re: Undo add of folder containing files that are scheduled for addition, too

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 17 Nov 2011 18:26:35 +0100

On 17.11.2011 13:46, Gunter.Koenigsmann_at_semikron.com wrote:
> I suspect I found an Bug:
>
> System: 64 Bit TSVN Revision: 1.7.2
>
> How to reproduce: - place a folder inside a subversion-controlled
> dir - put some files into the folder - right-click on the folder and
> choose tsvn/add - right-click on the folder
>
> Problem: TSVN claims that ist cannot undo adding a folder when its
> contents is still scheduled for addition. Only workaround is to
> traverse all sub-folders of the folder and choose "undo add" manually
> for each file.
>
> Expected result: - Either the folder's contents is un-marked for
> addition when the folder is, - or the context menu should contain a
> traditional "revert" entry or similar that allows to choose the files
> that should be unscheduled for addition.

right-click on the added folder, choose "undo add".
In the dialog that shows you the added dir you right-clicked on *and*
all the added files within that dialog, check all the added items.
Then click OK and it works.
If you only have the added folder checked, you'll get an error
explaining why it fails:
"Can't revert 'X' without reverting children". That means you can not
undo an added folder without also undoing the add of its child
files/folders. So just check all added items in that dialog and you're fine.

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=2879291
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-17 18:26:45 CET

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

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