Hi guys,

First of all, let me take the opportunity to say that I have started testing
fossil and going through its documentation and the concept seems really
brilliant; whatever I have been able to try so far seems to fit it nicely
with what I was looking for and I'm thrilled to continue my experience with
fossil :)

I am currently facing the following issue:

I have set up a fossil repository on a linux server (ubuntu) and this
repository is being served by fossil http server run by inetd.

I have been able to remotely clone this repository on a windows 7 pc (for
info, I have downloaded the pre-compiled binaries from fossil website) and I
am able to sync, push or pull between the local repository (let's call that
local repository local-via-clone) and the remote repository.

I have created yet another repository on the same pc (local-via-init) and
I've tried to pull the remote repository into local-via-init repository and
this is failing with failed login. I've tried several methods (url with and
without password, url with and without login, update url using fossil
remote, etc) but I haven't been successful yet.

As such I am at a loss and maybe I am not doing the right thing or I haven't
understood exactly how fossil works. Will you please comment and let me know
what is the issue?

Below, I have put the sequence of commands I have run:

----8<----------------------------
### local-via-clone ###
USERNAME@SAPHIRE:~ $ fossil clone --admin-user tve
http://fossilwuser:[email protected]:7305/work-projectsfossils/saphire1.fossil
USERNAME@SAPHIRE:~/fossil-wcopya $ fossil open ../fossils/saphire1.fossil
USERNAME@SAPHIRE:~/fossil-wcopya $ fossil sync
Server:    http://[email protected]:7305/work-projects
                Bytes      Cards  Artifacts     Deltas
Sent:             371          6          0          0
Received:         170          4          0          0
Total network traffic: 441 bytes sent, 344 bytes received
USERNAME@SAPHIRE:~/fossil-wcopya $ fossil pull
Server:    http://[email protected]:7305/work-projects
                Bytes      Cards  Artifacts     Deltas
Sent:             146          2          0          0
Received:         170          4          0          0
Total network traffic: 359 bytes sent, 343 bytes received


----8<----------------------------
### local-via-init ###
USERNAME@SAPHIRE:~/fossil-wcopies $ fossil init -A tve
../fossils/local.fossil
USERNAME@SAPHIRE:~/fossil-wcopies $ fossil open ../fossils/local.fossil

USERNAME@SAPHIRE:~/fossil-wcopies $ fossil pull
http://saphire.hd.free.fr:7305/work-projects
                Bytes      Cards  Artifacts     Deltas
Sent:             130          1          0          0
Received:          53          1          0          0
Total network traffic: 277 bytes sent, 269 bytes received
Error: wrong projectossil.exe:

USERNAME@SAPHIRE:~/fossil-wcopies $ fossil pull http://fossilwuser@
saphire.hd.free.fr:7305/work-projects
C:\apps\cygwin\bin\fossil.exe: missing or incorrect password for user
"fossilwuser

USERNAME@SAPHIRE:~/fossil-wcopies $ fossil pull
http://fossilwuser:[email protected]:7305/work-projects
                Bytes      Cards  Artifacts     Deltas
Sent:             130          1          0          0
Received:          52          1          0          0
Sent:             130          1          0          0
Received:          52          1          0          0
Sent:             130          1          0          0
Received:          52          1          0          0
Total network traffic: 1033 bytes sent, 804 bytes received
Error: login failedfossil.exe:
Error: login failedfossil.exe:
Error: login failedfossil.exe:

USERNAME@SAPHIRE:~/fossil-wcopies $ fossil pull
C:\apps\cygwin\bin\fossil.exe: missing or incorrect password for user
"fossilwuser"

I've also tried to create the user fossilwuser via the gui and have set the
exact same permissions as the fossilwuser which exists in local-via-clone
but still getting the same error ...

For info, both on the linux server and the windows pc, fossil version prints
the following:
This is fossil version [0448438c56] 2011-05-28 18:51:22 UTC

I am running the fossil.exe command in a cygwin/mintty terminal.

Thanks for any advice or help,
Cheers,
Teggy
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to