The latest version of Fossil (in the self-hosting Fossil repository - not
the precompiled binaries which are a little too old) supports a new method
of pushing, pulling, cloning, and syncing using SSH.  Examples:

     fossil clone ssh://[email protected]/local/path/repo.fossilex1.fossil

     fossil clone
ssh://[email protected]//full/path/name/repo.fossilex2.fossil

Notice that with a single / between the hostname and the beginning of the
repository path, the repository path is relative to the home directory of
the user.  With two // characters, the pathname to the repository is an
absolute pathname.

This new feature currently only works on unix.  As part of the
implementation, I needed a bidirectional popen() function.  (The standard
library popen() only works in one direction.)  I implemented this for unix
in the popen.c source file.  But I do not know how to do the same on
windows.  If someone cares to contribute ideas on how to implement a
bidirection popen() for windows, that will help me get the new ssh://
functionality working on windows.

On the other hand, no many windows machines that I have seen support ssh.
So maybe the ssh:// method is not useful there.  What do you think, gentle
readers?

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to