Fossil SCM
Provision to supply user name
d60f7f7109d21c9…
· opened 17 years, 5 months ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Minor
- Resolution
- Not_A_Bug
- Subsystem
- —
- Created
- Oct. 26, 2008 6:00 a.m.
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.