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

Re: [Subclipse-dev] Revert auto-selects all modified resources

From: Ciprian Dorin Craciun <ciprian.craciun_at_gmail.com>
Date: 2007-07-26 17:27:09 CEST

On 7/26/07, Mark Phippard <markphip@gmail.com> wrote:
> On 7/26/07, Ciprian Dorin Craciun <ciprian.craciun@gmail.com> wrote:
> > What happened to me today might seem very stupid... It was, but it
> > happed and it caused me a lot of pain... So here I go:
> >
> > I have started refactoring some code I was working on, and in the
> > process I have renamed a file. After a while I decided I want to get
> > back the original version of that file (but also keep the renamed
> > file).
> > As in SVN a rename is nothing else than a copy followed by a
> > delete, I selected the package and from there the "Revert...", I have
> > selected the file by clicking on it and clicked Ok button.
> >
> > Nothing wrong right? Wrong... :) :) :) Well it seams that all the
> > modified resources in that package were selected by default, and when
> > I found the original file I unchecked it... And as I was in a hurry I
> > didn't thought about the fact that I should have unselected all the
> > resources and the selected the right one...
> >
> > So as a consequence I erased in an instant what I was working for
> > almost half a day... :) :) :)
> >
> > Now I know I was stupid and did not pay attention, and that I
> > deserve this punishment, but this problem could have been avoided for
> > me and the ones that will not be careful...
> >
> > And here comes the change request: Could you please modify the
> > revert dialog to have no resource selected by default?
>
> I am not really convinced from your description that this would make
> it much better. Let's face it we all make these kinds of mistakes and
> you could just as easily still make it if we changed the default.
>
> The real problem that needs to be fixed is this one:
>
> http://subclipse.tigris.org/issues/show_bug.cgi?id=575
>
> If someone could make that problem go away, then it wouldn't really
> matter if you made this mistake because you could undo it.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/

    I agree with you that this change won't stop me from doing
mistakes, but I am certain that it would reduce most errors generated
by "click monkeys" -- those persons that in a hurry, like me, just
click the mouse and don't stop to think about what they are doing...

    Thus I think that this trivial modification is a plus.

    About the issue 575 it is solves another problem: it lets me see
the history of a certain file, not the history of an entire tree, and
thus in my case -- where I heavily refactored about 20 files -- it is
almost impossible to recover everything to the status it was before
the revert.

    Off topic: Maybe it would be useful to have something like a
'local commit', or checkpoint without sending the modifications to the
server... But this is something related to the SVN system itself and
not the plugin...

    Ciprian Craciun.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Thu Jul 26 17:25:51 2007

This is an archived mail posted to the Subclipse Dev mailing list.