Hi,

Bastian Doetsch wrote:
> It is included in 1.2.941, but you see it only, if you open pull/push  
> and the repositories aren't already existent
>   
What do you mean by "and the repositories aren't already existent"?
>> I have a repository with two push paths like
>> p1 = ssh://[EMAIL PROTECTED]
>> p2 = ssh://[EMAIL PROTECTED]
>>
>> I have the impression that mercurialeclipse uses the username user1  
>> for
>> both paths... I have my ssh key at both servers so authentification
>> without password works.
>> When I push to p1 from mercurialeclipse (which mercurialeclipse  
>> regards
>> as my default path as it is the first) everything works fine.
>>
>> When I push to p2 without entering username/pw in the dialog  
>> (everything
>> is configured in hgrc and in a shell "hg push p2" works without a
>> password prompt), I get an openSSH window asking for a password.  
>> When I
>> enter the correct password, it is not accepted (most likely because  
>> the
>> wrong username "user1" is used).
>>     
>
> This shouldn't happen. If you look into the ,metadata/.plugins/ 
> com.vectrace... directory of your workspace, you should find textfiles  
> containing your repositories - how do they look like?
>   
Ok, this is odd... in my "special case" I already had a hg repository
with one push-path when I first installed mercurialeclipse; this path
was correct in mercurialeclipse, too.
Then I added another path to my hgrc, it had another username (say,
[EMAIL PROTECTED]) and I had problems pushing without entering a username.
Then I added a third path to my hgrc ([EMAIL PROTECTED]). Same problems as
before.
Now I look into the file at .../com.vectrace.MercurialEclipse and it says

ssh://server2/...@@@user2
ssh://server1/...@@@user1

and that's it - the order of the paths is not the same as in hgrc and
the third push/pull path is missing...

Furthermore, pushing to [EMAIL PROTECTED] works now without typing user2's
in the username field... But the third repo isn't listed here.
Unfortunately I don't remember what changed
How often is hgrc parsed? Only when a project is "shared" i.e. when
"Team" is activated? Maybe a parse on every start of eclipse would be a
nice option (or maybe a switch to trigger a new read of hgrc?)

Best regards (and sorry for this quite unprecise error report)
Nikolas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to