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

Re: [Subclipse-dev] [PATCH] delete unmanaged/filter conflics patch - Take II

From: Paul Lorenz <plorenz_at_gmail.com>
Date: 2006-02-07 18:02:09 CET

On 2/7/06, Mark Phippard <markp@softlanding.com> wrote:
> Paul Lorenz <plorenz@gmail.com> wrote on 02/06/2006 07:53:35 PM:
>
> > > I was starting to think we should change the approach to a separate
> > > option. Leave revert alone, and instead have a new option that bring
> up
> > > all Unversioned resources. The dialog could have options to Add them,
> or
> > > delete them. I am not sure what we would call it.
> > >
> >
> > Ok, so now that the conflicts filter is under review, I'm back to
> > thinking about the delete unmanaged resources. How about a "Revert and
> > Clean" option that would do a revert and also delete any unmanaged
> > resources? It would behave much like Revert, except that in addition
> > to whatever resources would normally show up in the Revert dialog, any
> > unmanaged resources that were selected, or implied via recursion would
> > also show up, and if selected, would be deleted.
> >
> > I like this better than the the list unversion resources because it
> > gives you a one step process to return a worspace, folder or sync view
> > back to a pristine state. Though, I could see both being useful.
>
> I think we are harmed a bit by Subversion here. Specifically, that it
> includes a cleanup option that is really different from this. I think
> that makes it hard to use Clean in the option name as it will create
> confusion. We also do not want an svn error message suggesting the user
> run cleanup and have them do this option instead!
>
> Before we head too far down any one path, does anyone know if the CVS
> plugin has any options which delete local unversioned/unignored resources?
> If so, what do they call it and how do they expose it? If not, then I
> have to assume it has been asked for by users, what was the response of
> the CVS developers?
>
> Setting that aside, I am leaning towards a special option, as you propose
> above. I think we just have to decide on a name for it, and possibly a
> location. For example, would it make some sense to put it on the Replace
> with -> menu instead of the Team menu?
>
> The only idea I have for a name is "Restore". Something like "Restore
> working copy". I do not love it by any means, but at least it has not
> been used.
>
> I would be really interested to know what other Eclipse plugins do. I
> still have this gut feeling that it is wrong to provide an option like
> this, even though I completely understand the logic behind it.
>
> Mark
>

I've always used "Override and Update" in CVS, which replaces managed
resources with the latest version in the repo and also deletes any
unmanaged resources (at least if the "remove unmanaged resources on
replace" option is set. Not sure if it does it generally). At least,
that is the behaviour in the synchronize view. Not sure if I've ever
used for anything else.

I initially intended to add this option to subclipse, but then saw
that "override and update" already existed, but not in the same form.

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Tue Feb 7 18:02:18 2006

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

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