View Ticket
Not logged in
Ticket UUID: 93fef9f3c8649f8e00c672e698ee59c659129d84
Title: fossil clone -A username does not work
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2010-09-30 21:41:04
Version Found In: 2010-09-18 15:51:43
Description & Comments:
In windows we have usually the login name 'developer'. For clones not to set the fossil 'developer' user to the local repository administrator, we want to use: "fossil clone -A admin URL FILE".

But after doing that, fossil keeps using 'developer' as the repository administrator.


anonymous added on 2010-09-30 09:06:19:
Sorry, I see that the username said with '-A' works fine, but after the clone, fossil does not say about the new admin user and its password, but about the system user name, and its password.

So, on "fossil clone -A admin URL FILE" it does not say the password of 'admin', but the password for the name of the current system user.


anonymous added on 2010-09-30 13:50:38:
As an additional note, running:

fossil -A admin URL (Note I did not write any FILE name)

this makes a file named 'admin'.


renez added on 2010-09-30 21:41:04:
The problem is in

void db_create_default_users(int setupUserOnly, const char *zDefaultUser)

It first checks for the default user in the database

it should check zDefaultUser first and if that is empty go for the default user in the database