-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Yep, that's a known limitation. SSH / Mercurial don't play nicely with  
supplied passwords, you have to use unprotected keys to use ssh  
comfortably.

>
>
> I didn't bother yet to test this when SSH keys are in play, but I  
> think it
> will work.

I'll try (on MacOs)

>
>
> 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.

Yesterday, I talked about this with Dirkjan on IRC. Currently, we  
can't capture the password prompt, because Mercurial doesn't enter  
interactive mode when not called from a terminal. I hope the Mercurial  
devs will implement a --interactive flag that forces interactive mode.  
Currently you can only force non-interactive mode.

Bastian

>
>
>
> Wesley
>
>
>
>
>
>>>
>>>
>>> Wesley
>>>
>>>
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.8 (Darwin)
>>
>> iEYEARECAAYFAkmpIhwACgkQBqJW4lDO0YJMbgCfWIwGek+zq8ADCATbpds3a/8W
>> 0oIAnR8CE6gQFJRPRIN0bV6CfTZQaAwu
>> =kYlD
>> -----END PGP SIGNATURE-----
>>
>> >>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkmq3CkACgkQBqJW4lDO0YLzjQCfeZFE2sF0Y9oN1pU2sx9dUi6J
sQsAn3gydyV0JWvc0MxCyJ4/Hdymj86w
=0DCM
-----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
-~----------~----~----~----~------~----~------~--~---

Reply via email to