>
> Hey Wesley,
>
> any news on this? I'd very much like to have the stuff you did
> integrated if the aforementioned bug is fixed :). The askpass error
> doesn't occur with my current version of MercurialEclipse where I
> never give bitbucket a username/password anymore as the ssh keys are
> working and the username is stored in our plug-in metadata directory.
>
> Best regards,
> Bastian
>
>
Bastian,
Pretty sure I fixed the bug. The problem was that SSH does not accept URI's
of the form username:passw...@hostname. For now, I added a hack in
HgRepositoryLocation that omits the password if specified when the scheme is
SSH. This seems to work for me on linux. Of course, the user will have to
re-enter the password all the time (if using password authentication).
I didn't bother yet to test this when SSH keys are in play, but I think it
will work.
Also note that SSH is broken on (I believe) windows and (definitely) mac. It
has apparently been broken for some time. For mac this has to do with
ssh_askpass not being found where expected. On windows, it generally can't
find ssh with a default setup, but of course if ssh is in your path you
might be fine.
Ideally what we'd have is some method of passing in the password directly to
ssh. Possibly this would occur by intercepting the ask password callback
stuff, but I could not find where this is done.
Wesley
>>
>>
>> Wesley
>>
>>
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
>
> iEYEARECAAYFAkmpIhwACgkQBqJW4lDO0YJMbgCfWIwGek+zq8ADCATbpds3a/8W
> 0oIAnR8CE6gQFJRPRIN0bV6CfTZQaAwu
> =kYlD
> -----END PGP SIGNATURE-----
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---