Re: [fossil-users] trouble figuring out ssh

2012-06-16 Thread rene

On Sat, 16 Jun 2012 04:07:24 +0200, fossil-users-boun...@lists.fossil-scm.org 
wrote:
 Hey guys,
 
 I have a fossil repository I would like to push to a remote url via ssh.
 What steps am I missing?
 
 1. (remote)  $ cd repo-dir; fossil init repo.fsl
 2. (local) $ cd repo-dir; fossil open repo.fsl; fossil push
 ssh://user@url:port//path-to/repo.fsl
 
 I get a password prompt and output indicates bytes are transferred, but
 on the remote side, nothing. What am I doing wrong?
 
 thanks
 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
you have to set the ssh setting to path/plink -T (win). Something with 
preventing interactieve Shell. It has been discussed on the list .
René
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] trouble figuring out ssh

2012-06-16 Thread Lluís Batlle i Rossell
On Sat, Jun 16, 2012 at 10:45:36AM -0500, scrawler wrote:
 I simply wish to sync to and from a remote repository. As of yet I
 only have a local repository. Right now I'm the only user. I'm missing
 something simple.  Help? Can some kind soul outline the steps I need to
 take or point me somewhere?

The project files have to be one a clone of the other, or a copy. Having run
'init' at each side, means that each project will have a different ID.

Then, may it be that you expect the remote *working directory* to be updated? It
will not be updated; someone at the remote computer will have to run fossil
update to update the working directory.

Regards,
Lluís.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] trouble figuring out ssh

2012-06-16 Thread scrawler
On Sat, 16 Jun 2012 17:50:21 +0200
Lluís Batlle i Rossell vi...@viric.name wrote:
 
 Then, may it be that you expect the remote *working directory* to be
 updated? It will not be updated; someone at the remote computer will
 have to run fossil update to update the working directory.
 
 Regards,
 Lluís.

Thanks Lluis,

ok, here's what I did. I used scp to copy my local repo to the remote location. 
I made and entered a new local directory (for a fresh start), and cloned the 
now remote repo. 

It worked. I autosynced with a different machine successfully. The only awkward 
thing is that I had have an ssh session already open.

Can I assume that the fix here:
http://fossil-scm.org/index.html/info/a928c89cb1 
addresses this issue? I remember reading about it.

I built a fossil binary using the latest verision I could find, but apparently 
this patch had not been applied to it. Am I right so far? I might be slow, but 
I'm getting it!

thanks
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] trouble figuring out ssh

2012-06-15 Thread Martin Gagnon
On Fri, Jun 15, 2012 at 10:07 PM, scrawler scraw...@gmail.com wrote:

 Hey guys,

 I have a fossil repository I would like to push to a remote url via ssh.
 What steps am I missing?

 1. (remote)  $ cd repo-dir; fossil init repo.fsl
 2. (local) $ cd repo-dir; fossil open repo.fsl; fossil push
 ssh://user@url:port//path-to/repo.fsl

 I get a password prompt and output indicates bytes are transferred, but
 on the remote side, nothing. What am I doing wrong?

 thanks


I'm not sure what you try to do, but I usually do something like this with
ssh.

1. remote:
$ cd repo-dir
$ fossil init repo.fsl

2. local:
$ fossil clone ssh://user@url//path-to/repo.fsl
 /path-to-repodir/repo.fsl
$ cd ckout-dir
$ fossil open /path-to-repodir/repo.fsl

 ...  # add/edit some files

$ fossil commit   # if autosync ON, will push
automatically

$ fossil push   # needed if autosync OFF

-

In your example, if I understand, you copy the repo.fsl file yourself
(using scp I guess).

The usual way to get the repository on the local side the first time is to
use fossil clone. And doing so, it will remember from where you made the
clone, so following push, pull, sync command will work without the need to
specify the remote-url...

-- 
Martin G.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users