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

Wesley, I still get the error. As you can see, it doesn't use the  
provided user. Could it be overridden by an entry in my .hgrc? I'll  
see if I can debug it...

/usr/local/bin/hg incoming --debug --style /Users/bastian/Documents/ 
runtime-New_configuration/.metadata/.plugins/ 
com.vectrace.MercurialEclipse/log_style_with_files --bundle /private/ 
tmp/bundleFile-mercurialeclipse-50838.tmp 
ssh://bitbucket.org/bastiand/mercurialeclipse
   running ssh -C bitbucket.org "hg -R bastiand/mercurialeclipse serve  
- --stdio"
sending hello command
sending between command
remote: Permission denied (publickey).
abort: no suitable response from remote hg!
(Done in 0:04.533 min.)

Bastian

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

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

iEYEARECAAYFAkmq67sACgkQBqJW4lDO0YL7/gCdEQ/zzZD4IOkOb3vcE1CYzyeG
iLcAoIoRuGVj0Wtz5/JiuhNe/Kjm+KCT
=Bb2p
-----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