views:

55

answers:

2

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?

+2  A: 

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.

Fuu
A: 

I can't thank Fuu enough for posting this answer. I had a very rough time tonight trying to convince Mercurial Eclipse that my repository password had changed. It seems to ignore .hgrc once it has it's own value in the repository cache.

Using the method described above I was able to remove the repository URL's and that convinced Mercurial Eclipse to look in my .hgrc for the new password.

Etienne