Label for SVN URL disappears after restart

When you import a project from an SVN-repository that has a 'Label' supplied, the visualisation in the Project Explorer shows the Label rather than the (usually lengthy) full SVN-repository URL. This works perfect!
However if you restart HDT, the Label is gone and instead the full SVN-repository URL is again used in the Project Explorer view visualisation.
I guess it's a minor issue, but I like the 'short' Label view, because now the trunk/branches/tags info is usually directly visible without having to make the Project Explorer Tab absurdly wide (the info comes AFTER the full SVN URL which is very lengthy).

not sure / try decorations

Hi Dirk,

I'm not sure what you mean by "label". This word is used in several meanings with regard to SVN. If you can send me a screenshot of what you see and some info on what you mean by "label", I can take a closer look.

You might want to look at the settings for "decorations" (i.e. the things printed next to your file name in the explorer view).

Window > Preferences and then either
General > Appearance > Label Decorations or Team > SVN > Label Decorations.

kind regards

Philippe

Hello Philippe, The LABEL I’m

Hello Philippe,

The LABEL I’m talking about is the custom label you can supply as a substitute for the Repository URL (when creating a New Repository Location).

For example :

After Creation of the Repository Location it appears in the ‘Known’ Repository-List with the Custom Label :

And when you import an SVN-Project from this ‘Labeled’ URL, it appears in the Project Explorer as :

This is the visualization I would like to have.

However after restarting HDT, the URL-label is no longer used. Instead the full URL is used, which will make the ‘Trunk/Branches/Tags’ disappear :

Unless you make the Project Explorer view absurdly wide :

I hope this clarifies what I tried to explain.

Kind Regards,

reproducible and workaround

Hi Dirk,

I've been able to reproduce your issue.
The Subversive plugin does not store the SVN label for each project you have checked out. Instead, it matches the URL with its list of SVN repositories and tries to find a matching label. It seems that Subversive picks the first label that matches. In your case, this was an URL starting with ssh+svn://

After first checkout:

After restarting:

As a workaround, you can either remove the duplicate repositories, or you can create a label that is alphabetically sorted before your repository URLs.

I have filed a report with the upstream project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=298862.

Philippe

How do you remove duplicate repositories ?

Thanks a lot Philippe,

Your explanation certainly makes a lot of sense. However, I cannot proceed with your workaround, because I can't find how to remove these 'duplicate' directories.
Probably I haven't looked hard enough, but maybe the answer just drops out of your sleeve ?

Regards,
Dirk

Remove reporitory from Subversive list.

Window > Show View > Other, then SVN > SVN Repositories

In this view, you can right-click a location (repository) to manipulate (and remove) it.

Bonus tip: Try pressing CTRL-3 and type what you are looking for:

CTRL-3CTRL-3

resolved upstream

The upstream maintainers have fixed this problem.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=298862

After it is released in a stable upstream version, we will integrate this fix in Sigasi HDT.

fixed in the upstream project

fixed in the upstream project. People using the plugin version can upgrade to the new SVN plugin. The standalone Sigasi HDT version is not yet updated to the latest SVN plugin.

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.