[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: Davison, Steve D <steve.d.davison_at_intel.com>
Date: Wed, 3 Mar 2010 16:42:31 -0800

> > ... 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 [Delete and
> > add to ignore] does precisely what I wanted.
>
> Well, if that is what you are looking to do, you are
> barking up the wrong tree. You should be using "Undo
> changes from the revision" in the Log's shortcut menu.

... which means I'd have to open the log, find where it
was added, and commit the (merged) code. I would still
have to delete the local copy myself (optionally) and
the file is still not ignored... So, if I wanted to
reverse an accidental Add (perhaps from many moons ago)
then what you suggest is definitely the wrong tree.

AFAICT, "Delete and add to ignore list" is a sequence of
"Delete (keep local)", and "Add to ignore list <without
forcing me to commit first>". I Don't know what it's
ACTUALLY supposed to do; it doesn't look to be documented.

> > Unless I'm wrong... Shouldn't it just be named after
> > its purpose? "Reverse accidental commit..."
> So, apparently you want to do something more specific
> or different than what you asked about.

Nope. Just commenting on the discussion; I didn't start
the thread.

BOb

> 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.
>
> 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
> 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?

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454670

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454686

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-04 01:42:41 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.