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

Re: Feature RFC: Delete dialog

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Mon, 15 Dec 2008 18:01:31 +0100

Simon Large wrote:
> Hi folks,
>
> One of the things I find myself doing fairly frequently is deleting
> and ignoring generated files which should never have been versioned in
> the first place, and it is not as easy as it could be. First of all I

Seems *this* is the real problem, not the deleting afterwards?
So: how did those files get versioned even though they should have?
Maybe there's a better way to avoid *that*?

> SVN delete the file, which is easy. But the file has disappeared so in
> can't get a context menu to ignore it. The only way is to edit the
> folder properties manually. Of course I could SVN->Delete (keep
> local), but I never remember :-(
>
> I also notice that users are not always aware of the SVN->Delete (keep
> local) feature in the extended context menu.
>
> My proposal is to add a lightweight delete dialog which has a checkbox
> to keep local and a checkbox to add the file to the ignore list. There
> is a cancel button so it serves as a confirmation dialog. It also has
> a help button - currently there is no direct way to get help on
> deletion. Maybe a bit of text to say "These items will be deleted from
> HEAD when you commit your working copy".
>
> Straight away I see a problem - do we offer to ignore the exact
> item(s) selected, or ignore *.ext? What if there are multiple
> extensions among the files selected? Possibly a drop down list would
> work:
> "Do not add to ignore list"
> "Add xxx (or n items) to ignore list"
> "Add *.ext (*.xxx, *.yyy) to ignore list"
>
> A more complicated implementation gives a list of items to be deleted
> (but no folder recursion) allowing you to right click and ignore, much
> as you would in the commit or CfM dialog, and also to right click and
> keep local.

You might remember that we once had a 'delete' dialog, but users
complained that it was unnecessary: they already select the
files/folders to delete when executing the command. No need to show yet
another dialog.

I think a better solution would be to extend the 'ignore' submenu: if
items are versioned, add entries for 'ignore and delete' instead of just
'ignore' ?

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=984562
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2008-12-15 18:03:51 CET

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.