On Fri, 1 Jul 2011 17:31:30 +0200, Teggy V wrote:
> Hi there,
>
> As reported last week, I am getting a login failure message everytime
> I try to pull from a http url whereas the same http url works fine
> when used with clone command.
>
> I have tried several variants to see where the problem could be as
> reported in preivous post 'newbie - login failure when trying to
> push/pull' but still getting the same issue. I've tried to use
> previous versions of fossil (namely [0448438c56] 2011-05-28
> 18:51:22, [474850cff5] 2011-05-23 15:11:12, [1d93222627] 2011-03-01
> 19:04:32) with all three, I experiencing the same login failure. I
> should be doing something which is not compatible with fossil.
>
> If someone can have a go through and let me know what is wrong (or if
> someone can send me a working sequence of commands; for info, I need
> to be able to clone and pull since I'll be syncing several fossil
> repositories).
>
> I've started a new thread since I have done another series of tests
> run solely on a ubuntu 10.04 pc and it's not worth referring to my
> previous post.
>
> So here is a list of commands which I've tried:
>
> TERMINAL-1:
>
> ADMINUSR@SPHINX:~/fsl $ fossil init -A teggy fossils/sphinx.fossil
> admin-user: teggy (initial password is "f7fc47")
> ADMINUSR@SPHINX:~/fsl $ fossil server -P 14007 fossils/sphinx.fossil
>
> TERMINAL-2:
> ADMINUSR@SPHINX:~/fsl/wa-clone $ fossil clone
> http://teggy:f7fc47@localhost:14007/ clonedrep.fossil
> Bytes Cards Artifacts Deltas
> Sent: 53 1 0
> 0
> Received: 668 8 3
> 0
> Sent: 680 28 0
> 0
> Received: 1164 4 0
> 0
> Total network traffic: 675 bytes sent, 0 bytes received
> Rebuilding repository meta-data...
> 100.0% complete...
> project-id: c92e8c4160eb76cbdbadac27add35750a9dcb69e
> server-id: 3de522c149ee31f07340bf0370e1c01f73266327
> admin-user: teggy (password is "e1249e")
>
> TERMINAL-2:
> ADMINUSR@SPHINX:~/fsl/wa-pull $ fossil init -A teggy pulledrep.fossil
>
> project-id: 61211a462f00f17294512c5ab0d0204b7f4c9b21
> server-id: 2744c24175312898d427bd91f5e0ee8ecdd64214
> admin-user: teggy (initial password is "d412d7")
>
> ADMINUSR@SPHINX:~/fsl/wa-pull $ fossil open pulledrep.fossil
>
> ADMINUSR@SPHINX:~/fsl/wa-pull $ ls
> _FOSSIL_ pulledrep.fossil
>
> ADMINUSR@SPHINX:~/fsl/wa-pull $ fossil pull
> http://teggy:f7fc47@localhost:14007/
> Bytes Cards Artifacts Deltas
> Sent: 130 1 0
> 0
> Error: login failed
> Received: 52 1 0
> 0
> Sent: 130 1 0
> 0
> Error: login failed
> Received: 52 1 0
> 0
> Sent: 130 1 0
> 0
> Error: login failed
> Received: 52 1 0
> 0
> Total network traffic: 945 bytes sent, 0 bytes received
>
> As mentioned above, if someone can pinpoint in the above something
> which is not correct; or if someone will be kind enough to try a
> similar sequence of commands and shares these commands with me, that
> would be great.
>
> Thousand thanks guys,
> Teggy
I'm not sure what it is you are trying to archive here?
1) It is a big nono to open a repo next to the repo e.g. your
> ADMINUSR@SPHINX:~/fsl/wa-pull $ fossil open pulledrep.fossil
should be mkdir src; cd src ; fossil open ../pulledrep.fossil
2) Your actions are:
create sphinx (served 14007) --> cloned into clonedrep
create pulledrep --> fossil pull
I do not understand that it pull's from
http://teggy:f7fc47@localhost:14007/ (e.g. sphinx) you must have set the
url to do that.
However it is wrong because pulledrep doesn't descents from sphinx.
e.g. the two are unrelated!
the right way would be
create sphinx (served 14007) --> cloned into clonedrep
mkdir clonedrep.src; cd clonedrep.src; open ../clonedrep; fossil pull
http://teggy:f7fc47@localhost:14007/
--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users