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

Reply via email to