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

10,567

Solution 1

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.

Solution 2

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 :)

Solution 3

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

Share:
10,567
Fuu
Author by

Fuu

By day: Saving the internet By night: Observing from a high vantage point

Updated on June 04, 2022

Comments

  • Fuu
    Fuu about 2 years

    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?

  • Nico Adams
    Nico Adams almost 12 years
    In more recent incarnations of MercurialEclipse the passwords seem to be stores in the .key file in the path you describe (I did not see the .txt files you mention). Deleting this or renaming it also has the effect of removing old passwords.