Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove old repository URL from MercurialEclipse plugins repository location field

I've a mercurial repository to which I push my changes with eclipses MercurialEclipse plugin, using Team -> Push. Now the repository URL has changed, and eclipse always remembers the old url in the input field, which is preselected as default, and I need to select the new one from the pull down list. Very small problem, but annoying none the less.. Is there a way to clear the old value from the field, so that I don't always need to pick the URL manually until the end of time?

Alternatively, how to change the default repository entry to be the new one?

like image 518
Fuu Avatar asked Jul 18 '10 11:07

Fuu


3 Answers

Found out myself that you can change the default by right clicking on repository -> properties -> mercurial -> change default repository. Also allows for deleting the old repository URL from the same interface.

like image 60
Fuu Avatar answered May 24 '23 11:05

Fuu


If none of the other answers work, you can go to [your_eclipse_workspace]\.metadata\.plugins\com.vectrace.MercurialEclipse and look at repositories.txt and the corresponding repositories.txt for the project.

I deleted some URLs in both, and now they've disappeared :)

like image 38
colinjwebb Avatar answered May 24 '23 12:05

colinjwebb


In Eclipse Helios team synchronize view you can click on "Synchronize..." from the toolbar. This will let you switch the repo used for sync.

like image 21
zorro2b Avatar answered May 24 '23 13:05

zorro2b