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.

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

Reply via email to