On Sat, Aug 26, 2006 at 19:36:09 +0100, allan wrote:
> So I have two questions:
> firstly is this arrangement possible currently within darcs?

Unfortunately, no, you cannot substitute scp for stfp, at least, not
directly.

You might be able to write a small script that pretends to be sftp, by
parsing the sftp batch command file and doing an scp for each file to be
sent/received.

It would probably be a very good idea to have ssh enabled, or the
control master functionality because this could potentially involve
a lot of scp operations.

> and secondly if not then is it likely to in the future or is there some 
> fundamental reason why this cannot be done?

Nothing particularly fundamental.  Darcs calls sftp with arguments which
are meaningless to scp.  That being said, a script like the one
suggested above might work.

> p.s. I tried using sshfs to remotely mount the directory in which my 
> remote darcs repository is, this works fine for a "darcs get" and "darcs 
> pull", but a "darcs push" fails because the lock function is not 
> implemented, that is I get this error:
> darcs: takeLock /media/uni_mount/ipc/_darcs/lock in 
> /media/uni_mount/ipc: atomic_create /media/uni_mount/ipc/_darcs/lock in 
> /media/uni_mount/ipc: unsupported operation (Function not implemented)

Oh.  I was hoping sshfs would let people do this.  Oh well.

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.

Attachment: pgpu6dA2f7oIg.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to