How to sync usernames between Chiselapp and local fossil?

My Chiselapp username is different from my username on my local machine (which appears to be my Fossil username). I noticed that both appear in my commit history. How do I keep these usernames in sync so that I am the same user in both places?

My guess is that it is easier to define the new Fossil username locally. Does User ID matter? Can I disable my old username? Ideally I would like to do this for a local repo and not globally on my local machine if I later use another Fossil service provider.

+3


source to share


2 answers


You can do this much faster and more consistently by using fossil configuration

. The config command covers several "areas" including your ticket configuration, css user interface, etc.

For what you described, you need to click or drag an area user

:

fossil configuration pull user

      

Assuming you have a remote url. You can also push your custom details if you like. Of course, the method that you describe through the UI also works. Working with configuration

is faster and has more options.



You can change your username during registration. Through the user interface such as the timeline, click the Check button and then select Edit at the bottom of the Browse (just above Tags and Properties). You will see that the first item you can edit is "User". Of course, the change record will be made as any user you registered when you made the change. He will say something like:

Control file referencing [6ca0f57251] - 
Edit [58b7da6d030f457a87c67aebbdfd2dfcab674d28|58b7da6d03]: 
Change user to ""changedUser"". by currentuser on 2015-02-12 22:04:07.

      

I mention this last part to note that you still cannot change history, as any change will be recorded as such. As far as I know it is not possible to do this for every single username of a specific user via config settings.

+3


source


To change your username locally:

  • Run fossil ui

    to open the web interface.
  • Select "Admin", "Users" and your username
  • On the user page, change your username
  • Confirm the password field is cleared.
  • Click "Apply Changes"
  • Close the web interface
  • Run fossil user list

    to confirm that only the new username is displayed.
  • Future local commits will be made with this username


The old (unsynchronized) username will still appear in the commit history. It looks like these entries cannot be changed.

+1


source







All Articles