sftp oddities

Erik Bågfors zindar at gmail.com
Wed Dec 21 10:38:29 GMT 2005


2005/12/21, Jan Hudec <bulb at ucw.cz>:
> On Tue, Dec 20, 2005 at 14:08:52 +0100, Erik Bågfors wrote:
> > 2005/12/20, Aaron Bentley <aaron.bentley at utoronto.ca>:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Jeff Rose wrote:
> > > | 1. Why does pushing and branching with sftp use an odd url that doesn't
> > > | correspond with what people already know about sftp?
> > >
> > > I think what you're talking about here is scp, which is a different
> > > protocol.  The scp commandline tool is modeled after rcp, and its
> > > arguments aren't URLs.  AIUI, rcp predates URLs by many years.
> >
> > Acctually, sftp also uses scp/rcp syntax
> >
> >      sftp [[user@]host[:file [file]]]
> >      sftp [[user@]host[:dir[/]]]
> >
> > I do think he has a point and I would like to use bzr push
> > erik at bagfors.nu:public_html like I can in darcs and hg.  But it begs
> > the question, "is that sftp, rcp, scp, rsync, something else??".  The
> > reason that darcs and hg can do it, is that they don't support as many
>
> hg can do it? It certainly does *NOT* document that.

I stand corrected.

it uses ssh urls. eg "hg push ssh://user@server/~/repo/hg/"

/Erik




More information about the bazaar mailing list