While looking at the main /reports page (Timeline Events by User) on a 
long-lived repo originally converted from Subversion (itself converted from 
CVS), I saw some old user names that don’t match the user names currently 
defined in Fossil’s user table.  These were imported from our prior SCM(s) and 
not correctly translated to their new values.  I want to retroactively fix them.

I tried doing this on my own by:

1. Backing up the central Fossil DB and its main clones, multiple times!

2. Stopping “fossil server” on the central server.

3. Renaming the users:

   $ sqlite3 /path/to/repo.fossil
   sqlite> update event set user='fred' where user='bar...@example.com';

(The incorrect user names are email addresses for the users, rather than the 
more traditional user names used by Fossil.  I’m not changing attributions 
here, just fixing the appellations.)

On restarting Fossil server and re-visiting the /reports page, the merged 
attributions are showing up as intended, but on re-cloning from that 
repository, the clone showed the old mix of user names!

(I also noticed that “fossil sync” didn’t transfer the new names to prior 
clones, but I expected that going in, which is why I tried a fresh clone.)

What table did I miss updating?  Where is “fossil clone” getting the old user 
names from?

I did restore from the backup, so don’t worry that I’ve left things in an 
inconsistent state.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to