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

Re: RFC: Revert folder behaviour change

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-02 06:55:13 CEST

On 10/1/06, Tobias Schäfer <tobiasschaefer@gmx.de> wrote:

> I would prefer the revert dialog to behave consistently like all other
> dialogs, i.e. select all files by default.
>
> To make the revert less destructive I propose the following patch.
>
> It basically moves the files to be reverted to the recyle-bin before calling
> the subversion revert function. This makes the subversion library being
> called on a missing file instead of on a modified file. The result of the
> revert is same except that the previous version can be restored out of the
> recycle-bin.
> To revert the files without the previous version being placed in the
> recyle-bin, just press Shift like in the windows explorer.

Worst-case scenario:
* user interrupts an ongoing operation (e.g. a commit)
* instead of 'cleanup', chooses 'revert' (because he want's to revert
what he did to get the working copy locked)
* revert fails because wc is locked

In the case above, the files would now all be in the trash...

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 2 06:55:21 2006

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.