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

Re: Working copy data loss on undo add

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 02 Feb 2012 20:28:31 +0100

On 02.02.2012 15:52, Simon Large wrote:
> Hi Stefan,
>
> I bumped into this one before but forgot to report it.
>
> I svn copy and rename a file to make a variant and start editing it. I
> decide I am going to do things a bit differently and TSVN->Undo Add.
> This reverts the svn copy and discards the file, which is not what I
> expected since I had edited it after making the copy.
>
> What I expect Undo Add to do is:
> Added unversioned file: Revert, but keep my original file as unversioned
> Added file with history (unmodified): Revert, deleting the copied file

Already works this way.

> Added file with history (modified): Revert, keeping the modified file
> as unversioned

Not exactly: revert means also reverting local modifications.
But: TSVN moves the reverted file to the trash bin so you *can* recover
it if you really want to.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2917566
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-02 20:28:42 CET

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