Hi,

Here is what I did, please note that my WinXP loigin ID is a0756885 but I want 
to use altufaltu as user name.

D:\temp> fossil new main.fossil
project-id: 922e1f4bc7e1b5f0bdc0825c87185a3485e891a2
server-id:  9442d6ad3787ef3358c07c11ba6c347dd75ecb51
admin-user: a0756885 (initial password is "4d5de2")

D:\temp> fossil user list -R main.fossil
a0756885
anonymous    Anon
developer    Dev
nobody       Nobody
reader       Reader

D:\temp> fossil user new altufaltu [email protected] qwerty -R main.fossil

D:\temp> fossil user list -R main.fossil
a0756885
altufaltu    [email protected]
anonymous    Anon
developer    Dev
nobody       Nobody
reader       Reader

NOTE: I have setup apache + cgi script to refer to newly created respository.

D:\temp> fossil clone http://localhost/fossil/main local.fossil
                Bytes      Cards  Artifacts     Deltas
Send:             552         22          0          0
Received:        1324         11          0          0
Send:              96          1          0          0
Received:         348          4          1          0
Total network traffic: 740 bytes sent, 1350 bytes received
Rebuilding repository meta-data...
1 (100%)...
project-id: 922e1f4bc7e1b5f0bdc0825c87185a3485e891a2
server-id:  449bdd0f4aa57ce4613f1e06096f8e2ea74bad5f
admin-user: a0756885 (password is "937b3a")

D:\temp> del local.fossil

D:\temp> fossil clone http://altufaltu:qwe...@localhost/fossil/main local.fossil
                Bytes      Cards  Artifacts     Deltas
Send:             552         22          0          0
1fossil: server says: not authorized to clone

D:\temp> fossil clone http://altufaltu:wrongpassw...@localhost/fossil/main 
local.fossil
                Bytes      Cards  Artifacts     Deltas
Send:             552         22          0          0
Received:        1324         11          0          0
Send:              96          1          0          0
Received:         348          4          1          0
Total network traffic: 744 bytes sent, 1350 bytes received
Rebuilding repository meta-data...
1 (100%)...
project-id: 922e1f4bc7e1b5f0bdc0825c87185a3485e891a2
server-id:  f1853e18a571846b394619091361771914f402a1
admin-user: a0756885 (password is "582859")

D:\temp> fossil version
This is fossil version [79be9028eb] 2009-08-12 14:41:32 UTC

Questions:
1. Is my method of adding users correct?
2. How do I clone / checkout with a different user name? Is my method correct? 
Why doesn't it work?
3. Why should it work if I supply wrong password?

NOTE: Same issue even if I enter password at prompt instead of embedding it in 
URL.

- Altu


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to