On Oct 26, 2009, at 11:17 AM, Joshua Paine wrote:

> I started with just a local repository, then wanted to start using a
> web-accessible server. I got the web server up and serving a bare
> repository with the CGI script.
>
> I tried pushing to it, but got some message to the effect of "wrong
> repository name" (sorry, I ran out of scrollback in that terminal).
>
> So I tried scp-ing my local copy of the repository up and serving  
> that.
> When I tried to push from local to the copy, I got a message about a
> server loop.

I checked in changes at the beginning of this month to disable the  
"server loop" check.

    
http://www.fossil-scm.org/fossil/vinfo/469efd6a7ce8ba441b7c7a558f15e3f7ab5847e4

So with the latest fossil code, it should be possible to simply scp a  
local repository to a server and immediately start pushing and pulling  
from it.


>
> Seeing similar code in the mailing list archive, I tried
> fossil clone /local/repository.fsl http://name:pas...@server/path but
> got:
> fossil: cannot open "http://name:pas...@server/path"; for writing
>
> So I closed out my local repository and let the copy on the server
> become the origin. I created a new repository locally by cloning the
> server, and eventually was able to push and pull. (I also ran into the
> same problem that some others did earlier this month where I pushing  
> or
> syncing--even with username and password specified in the url-- 
> resulted
> in a message about no write permissions until I first pulled with full
> credentials.)
>
> So, besides the password/permissions issue, the only way I came up  
> with
> to start using a local repo with a remote server was to copy my local
> repo to the server, delete (or ignore) my local repo, and recreate my
> local repo by cloning the server. Is that the only way, or did I miss
> something?
>
> -- 
> Joshua Paine
> LetterBlock: Web applications built with joy
> http://letterblock.com/
> 301-576-1920
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

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