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

Re: How do I add the file to the ignore list without deleting it?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 4 Mar 2010 14:07:33 +0000

On 3 March 2010 23:20, Davison, Steve D <steve.d.davison_at_intel.com> wrote:
>> > Can someone verify that when you use "Delete and add to Ignore list"
>> > it DOES keep the file locally. That is what my testing of this
>> > feature showed. Perhaps people are just assuming that it deletes the
>> > file locally too?
>>
>> I can (just tried again), that's why I don't understand
>> the issue Dave has ...
>>
>> Felix
>
> Well, if I were looking for a way to undo an accidental
> commit (which must be the purpose of such a specialized
> feature), I would not be certain that it does precisely
> what I wanted.
> Unless I'm wrong... Shouldn't it just be named after its
> purpose?  "Reverse accidental commit...",

The commands are generally named after what they do, not on why you
might use them. Yes it will reverse an accidental commit, but it also
allows you to change your mind about whether something should be
committed rather than implying "admit it, you got that wrong".

But I think the name is wrong. "Unversion and add to ignore list" is a
better indicator that the local copy is kept.

> which would
> BRING UP A DIALOG where you can choose the optional
> "add to ignore list" checkbox.  Maybe a checkbox for
> "delete local copy" too.  Why not?  At least that
> communicates to the user that the file is safe if
> if there's no check-mark.

That's a possibility. IIRC it was considered at the time but rejected.
I don't remember why.

> It does add one step, BUT I think that's a Good Thing.
> IMO, anything that is going to operate directly on the
> repo should have a some form of confirmation.  Look at

It doesn't act directly on the repo. You still have to commit the deletion.

> the "Add" command, for example.  It's doing perhaps the
> MOST HARMLESS thing you can do with TSVN (aside from
> the strictly read-only stuff), because all it's going
> to do is just SCHEDULE the add / commit. You're still
> going to get another chance to catch a mistake when
> you commit the changes.
>
> A bit of a  b r  o  a d  chasm for one tool, don't you
> think?

I don't remember why Add has a progress dialog. My system is set to
auto-dismiss that one for the reasons you state.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454994
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-04 15:07:43 CET

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

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