Question

I have installed mercurial and configured in .hgrc file like this:
default (server-1)
default push (server-2)
This works fine in command line as it is using .hgrc file.

I tried using the eclipse plugin for mercurial which is not reading from .hgrc file ( I have to give repo address and credentials to it), I have given the default server-1 address, So How can I configure server-2 for push operation ?

Or

how to make my eclipse to read from .hgrc file directly ?

Thanks in advance.

Was it helpful?

Solution

I believe the plugin is utilizing the .hgrc file (for instance I've never edited it by hand and have a defult definition in it).

Try opening the drop-down list of the URL text field in when pushing/pulling, it will contain server-1 (and probably server-2 too), and if you select it, the plugin will also fill the user credentials (if you saved them too).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top