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

RE: Delete/Undelete modified working copy

From: Vincent Thornley <vthornley_at_iee.org>
Date: 2004-05-28 11:20:07 CEST

John Peacock wrote:
>
> Brian Mathis wrote:
>
> > SVN should work like every other Windows app and abide by the
> > preferences you set up on your machine. If you don't like using the
> > recycle bin, then you can change it.
>
> Except that Subversion is _not_ a Windows app; it is a cross-platform
> application. OS specific code is avoided for lots of good
> reasons (I should
> know, I had some *nix specific code nixed because I couldn't provide a
> methodology to match for Win32).

Agreed. But while I used the term Recycle Bin since my client OS is Windows,
there are equivalents on other operating systems. Therefore I think original
question is cross-platform.

>
> It is not the application's business (or the O/S's as far as I am
> concerned) to
> handhold the user and protect them from shooting themselves in
> the foot. Even
> Microsoft partially agrees with me, since a DEL in the CMD shell
> doesn't use the
> recycle bin.

I partially agree with you. It is impossible to completely protect me from
myself. However, recycle bins, trash cans etc. are designed to allow users
to recover from mistakes so it seems sensible to make use of them.

> If you have a problem with the way that TortoiseSVN chooses to implement
> deletes, that's the door down the hall on the left. ;) There is
> no reason to
> change the behaviour of the command line tools to fit this one
application.

It is true that the behaviour which resulted in the delete is one which is
more likely in a GUI client rather than a CL client (since it is less likely
to mistakenly type a filename in the CL than accidentally misclick in a
GUI). However, I think that it is an issue as relevant to other GUI clients
as TortoiseSVN.

This has already been taken up on the Tortoise list and a modification made
to give further warnings before modified WC is deleted, however, there is a
limit to what can be achieved without changes to SVN.

Vince

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 11:21:23 2004

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

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