push over sftp

Zbynek Winkler zwin at users.sourceforge.net
Thu Nov 3 18:56:45 GMT 2005


Jan Hudec wrote:

>>It may be more "correct" to use "sftp://" but it's also more
>>complicated (and lot's longer due to the absolut patch requirement) to
>>write on a command line.
>>    
>>
>As to the later, there actually is a way around this, though it's not
>standartized. In fact it has two variants:
>
>Variant1:
>    sftp://host/dir-in-home
>    sftp://host//home/user/dir-in-home
>
>Variant2:
>    sftp://host/~/dir-in-home
>    sftp://host/home/user/dir-in-home
>
>Mercurial does use the first, though it uses ssh:// schema, since it executes
>it's own server at the other end.
>  
>
Well, the first part of Variant2 is actually a special case of Variant1. 
See the discussion at 
http://marc.theaimsgroup.com/?l=mercurial&m=112687664200467&w=2 or
http://marc.theaimsgroup.com/?l=mercurial&m=112690738304548&w=2
Zbynek

-- 
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic





More information about the bazaar mailing list