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

Re: [Subclipse-users] Useless repository browser at switch

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-06-24 21:39:27 CEST

On 6/24/07, Linus Tolke <linus@tigris.org> wrote:
> Hello all!
> I have noticed that sometimes, the projects appear in the Eclipse Package
> Explorer as
> + argouml [trunk/src_new]
> + argouml-core-lib [trunk/lib]
> ...
> and sometimes with the full url:
> + argouml
> [http://argouml.tigris.org/svn/argouml/trunk/src_new]
> + argouml-core-lib
> [http://argouml.tigris.org/svn/argouml/trunk/lib]
> I have not been able to figure out when one or the other is used or how to
> switch from one of the notations to the other. It hasn't really mattered.
> What I have noticed though, is that for projects with the full url,
> selecting where to switch is complicated. When I press Browse, the Branches
> and Tags entries are fine but the rest of the entries in the Repository
> Browser is starting from below the project (below /trunk/src_new) and I
> cannot find a way to get up above that. Since usually I want to switch to
> something that is not below the project itself (typically
> /branches/work_issue1234_something) the Repository Browser
> part of the dialog is pointless. I have to type in the URL manually.
> I would prefer the Repository Browser to always be rooted at the root of the
> current repository so that it always shows /branches, /tags, and /trunk if
> the default repository setup is chosen. If the current project is to be
> signalled in anyway, let it be selected and unfolded but leave it at that.

Both of these issues are rooted in the same thing. When it does not
work the way you want, and the decorator looks weird, it is because
the project has become attached to a repository connection where the
URL is the full URL to the project, as opposed to just the project
root. This happens for two reasons:

1) Occasionally people type in the URL's this way when creating the location.
2) The Import Project Set option will create the connections this way.

I have tried to fix #2 in the past, but to really do it will require
changing the format of the file. Feel free to enter an issue to
capture this. You can work around #2 by entering the repository URL
before importing.

The browser is working as designed. It roots itself with the URL of
the connection.

Mark Phippard
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Jun 24 21:39:07 2007

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

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