View Ticket
Not logged in
Ticket UUID: d60f7f7109d21c99c2e4a2919287268b1b459d09
Title: Provision to supply user name
Status: Closed Type: Feature_Request
Severity: Minor Priority:
Subsystem: Resolution: Not_A_Bug
Last Modified: 2008-10-26 16:05:29
Version Found In: 3d62a9fb39
Description & Comments:
I have tested fossil on Win32 and it takes my Windows user name as fossil user name, which is not correct as: 1. I have different user names on my office laptop vs. home PC. 2. I cannot have Altu Faltu as my windows user name.

Ideally, provision should be there to provide one username per repository.

With current situation, I can have three names: 1. My windows user name that is used by fossil automatically. 2. My fossil-scm,org user name. 3. The user name I give when generating GPG keys.

Is there any relation between them?

(I could not login as altufaltu today, not sure if it is my browser or website)

- Altu


drh added on 2008-10-26 16:05:29:
I believe you can set the default user like this:

fossil user default user-id

The default user set as above overrides any USER environment variable setting. You an also set the user for individual commands using the -U or --user command line switch. For example:

fossil commit --user drh

The -U or --user switch overrides the user set by the "user default" command and the "user default" command overrides the USER environment variable.