You have to set your user name and password. Use: fossil remote-url http://user:[email protected]/cours-3if The user have to be registered on the remote repository with proper rights.
On Sun, 26 Aug 2012 18:32:22 +0200 Gautier DI FOLCO <[email protected]> wrote: > Hi all, > > I'm new to fossil and I have followed this post ( > http://blog.appamatto.com/2011/11/13/multiple-fossil-repositories-setup.html) > to setup a fossil on my home server (an OpenBSD 5.1 i386). > I have the following nginx.conf : > user _nginx; > worker_processes 1; > events { > worker_connections 1024; > } > http { > include mime.types; > default_type application/octet-stream; > sendfile on; > keepalive_timeout 65; > server { > listen 80; > server_name localhost; > location / { > proxy_pass http://127.0.0.1:8080/; > proxy_redirect off; > proxy_set_header Host $host; > proxy_set_header X-Real-IP $remote_addr; > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > } > } > } > > I launch fossil with this command line : fossil serve > /home/fossil/repositories. > Then I tried the following command : > *~ $ fossil clone http://192.168.0.42/cours-3iftest.fossil > * > Bytes Cards Artifacts Deltas > Sent: 53 1 0 0 > Received: 6601193 245 121 0 > Sent: 70 2 0 0 > Received: 5596705 251 123 0 > Sent: 55 4 0 0 > Received: 6868686 19 8 0 > Sent: 55 1 0 0 > Received: 8166176 5 1 0 > Sent: 55 1 0 0 > Received: 15695969 179 88 0 > Sent: 55 1 0 0 > Received: 5093090 97 47 0 > Sent: 55 1 0 0 > Received: 5011321 117 57 0 > Sent: 55 1 0 0 > Received: 5002566 283 140 0 > Sent: 55 1 0 0 > Received: 5022130 1826 913 0 > Sent: 56 1 0 0 > Received: 5017688 641 320 0 > Sent: 56 1 0 0 > Received: 3972895 1137 568 0 > Total network traffic: 2664 bytes sent, 72051060 bytes received > Rebuilding repository meta-data... > 100.0% complete... > project-id: cee0eea7fb387d0bb2c07430f999aafc56fc9c9a > server-id: 5abbb01562d3b7d9861433e1cbe3739217c17ac5 > admin-user: black (password is "872461") > * ~ $ mkdir > test > > ~ $ cd > test > > test $ > ls > > test $ fossil open ../test.fossil* > ..... a very long list* > test $ mv _real.sh real.sh > test $ fossil mv _real.sh real.sh* > RENAME _real.sh real.sh > * test $ fossil commit -m "Test push"* > > Autosync: http://192.168.0.42/cours-3if > Bytes Cards Artifacts Deltas > Sent: 130 1 0 0 > Received: 78 2 0 0 > Total network traffic: 290 bytes sent, 307 bytes received > New_Version: d58c3a5521a658a8a393a466d779d3d4adab1d50 > Autosync: http://192.168.0.42/cours-3if > Bytes Cards Artifacts Deltas > Sent: 603 4 0 1 > Error: not authorized to write > Received: 111 1 0 0 > Total network traffic: 525 bytes sent, 335 bytes received > fossil: Autosync failed > * test $ fossil push http://black:[email protected]/cours-3if* > Bytes Cards Artifacts Deltas > Sent: 222 3 0 0 > Received: 23532 501 0 0 > Total network traffic: 400 bytes sent, 12763 bytes received > > The strangest thing is that I can see my commit on my local repository but > not on my remote repository while it makes me no error and I have the grade > 'Setup' (s) on the remote repository. > I'm new, so I may have missed something, but what? > > For your help, > In advance, > Thanks. > > PS : I have compiled the d7736649cd check-in on both sides. -- John Found http://asm32.hopto.org _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

