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.