[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: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-10-01 20:51:15 CEST

On Wednesday 27 September 2006 10:15, Lübbe Onken wrote:
> Since revert is IMO the potentially most destructive command in TSVN, I
> request that the default behaviour in revert is to have everything
> unchecked. This requests one more click (select all) if I really want to
> revert everything, but it prevents me from accidentally reverting
> something due to an oversight.

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.

Note: the patch has not been tested well yet. This is only a RFC :-)

Tobias

-- 
       ___
  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 Sun Oct 1 20:53:39 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.