Fossil SCM

fossil clone -A username does not work

Closed

93fef9f3c8649f8… · opened 15 years, 6 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
Sept. 30, 2010 8:58 a.m.

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




Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button