On Sun, Apr 10, 2011 at 3:56 PM, Mark Preddy <[email protected]> wrote:

> New user here.
>
> I followed the quick start guide to set up a server on an XP laptop
> ("neptune") on my LAN:
>
> 1. Create a new repository on my dev machine (running Win 7):
>      a. mkdir test
>      b. cd test
>      c. fossil new test
>      d. fossil open test
>      d. create some dummy file, test.txt, in this directory
>      e. fossil add test.txt
>      f. fossil commit -m "New file added."
>      g. fossil close
>

Before pushing the repo to your server (you can do it later, but it is
easier here) do "fossil ui" then go to Admin/Users and create a login and
password for yourself with Check-in privileges (at least) or Setup
privileges (recommended).

Then after transferring the repo to your server:

    Fossil remote http://username@servername/path

Then you should be able to "fossil push".





> 2. No problems so far.  Manually move the fossil database "test" file to my
> server ("neptune").
> 3. On neptune, navigate to the directory containing "test" and start a
> fossil server with
>      fossil server test
> 4. Back on the dev machine, create a new directory somewhere and clone a
> copy of test from neptune:
>      fossil clone http://neptune:8080/test test
> 5. Still no problems.  Open the repository with
>      fossil open test
> 6. Edit test.txt, then try to commit with
>      fossil commit -m "Some comment."
> 7. ERROR:
>
> Autosync:  http://neptune:8080/test
>                Bytes      Cards  Artifacts     Deltas
> Sent:             130          1          0          0
> C:\Windows\fossil.exe: *** time skew *** server is slow by 42.2 seconds
> Received:         170          3          0          0
> Total network traffic: 256 bytes sent, 0 bytes received
> continue in spite of time skew (y/N)? y
> C:/Users/Juno/Desktop/fossil/test/test.txt contains CR/NL line endings;
> commit anyhow (y/N/a)?y
> New_Version: 6c6f9240993974adea2d1bb9221cd3bfd6d23b45
> Autosync:  http://neptune:8080/test
>                Bytes      Cards  Artifacts     Deltas
> Sent:             886          7          0          2
> Error: not authorized to write
> Received:         203          1          0          0
> Total network traffic: 586 bytes sent, 0 bytes received
> C:\Windows\fossil.exe: Autosync failed
>
> Any ideas?  I love the design of this program and I really want to make it
> work.
>
> Thanks,
> Mark
>
>
> _______________________________________________
> 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