[Pkg-bazaar-maint] Bug#578708: Bug#578708: bzr+ssh urls do not actually support /~/ as a path prefix

Roland Mas lolando at debian.org
Thu Apr 22 07:23:41 UTC 2010


Lars Wirzenius, 2010-04-22 10:58:12 +1200 :

[...]

>>From "bzr help urlspec":
>
>     For bzr+ssh:// and sftp:// URLs, Bazaar also supports paths that begin
>     with '~' as meaning that the rest of the path should be interpreted
>     relative to the remote user's home directory.  For example if the user
>     ``remote`` has a  home directory of ``/home/remote`` on the server
>     shell.example.com, then:
>
>       bzr+ssh://remote@shell.example.com/~/myproject/trunk
>
>     would refer to ``/home/remote/myproject/trunk``.
>
> However, this does not seem to work:

My understanding is that the ~ handling is delegated to the remote bzr
process when you use bzr+ssh://, while it is done locally when you use
the “dumb” sftp:// protocol; as a consequence, ~ handling (which has
only existed since bzr 2.1) only works if the version of bzr installed
on the *remote* host is >= 2.1.

Roland.
-- 
Roland Mas

That's one of the good fings about not existin'; they leave you alone most
of the time.  --  in My Hero (Tom Holt)





More information about the Pkg-bazaar-maint mailing list