On Wed, Nov 17, 2010 at 1:55 PM, Nolan Darilek <[email protected]>wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Wow, thanks. I feel thoroughly informed about the presence of this one > tool. :) > > I'm not so much worried about changing the committer attribution in the > Git export--I guess sed could work as well for that--I was just thinking > I might run some SQL on all the created artifacts and attribute them to > my Fossil user. Fossil uses an immutable file format. You can't change things using SQL or other actions. http://www.fossil-scm.org/fossil/doc/trunk/www/fileformat.wiki That said, you can add "Control Artifacts" that change the displayed username for individual check-ins. For an example where this has occurred, see http://www.fossil-scm.org/fossil/info/c492eab395 The control artifact that changed the username from "Ratte" to "wolfgang" is http://www.fossil-scm.org/fossil/info/7abcd93076 Notice that this same control artifact also changed the displayed comment and the displayed time-of-checkin. The original information for all of the above is retained, of course. Fossil uses the accounting philosophy of "never erase". Changes are merely added as corrections. By similar means, you can also change the branch of a commit after-the-fact. An example of that is this commit: http://www.fossil-scm.org/fossil/info/7043db15b That check-in was originally in the "pedantic1" branch, but got moved into the "gcw-fast" branch by this control artifact: http://www.fossil-scm.org/fossil/info/ec5b4ddebd So there are ways of changing branch names and user names. But they are tedious and probably are not exactly what you are looking for. A better approach might be some kind of user-name alias system whereby each repository can keep a list of aliases for each user and only display their preferred name when any of their aliases are used. Or, the "fossil import" command could be enhanced to do mappings between branch names and user names. > I thought that Fossil users were sent along with the > repository so each copy was fully attributed, but it doesn't appear that > this is the case. Is the user associated with each commit just a > freeform text field, or is there more to it? > > On 11/17/2010 12:29 PM, Stephan Beal wrote: > > On Wed, Nov 17, 2010 at 6:01 PM, Nolan Darilek <[email protected] > >wrote: > > > >> -----BEGIN PGP SIGNED MESSAGE-----I also looked through the database > >> briefly, but couldn't figure out how > >> to change ownership of all commits from my email address to my Fossil > >> user. Again, since I'm the only committer to this project thus far, a > >> blanket UPDATE would be perfectly fine by me. > >> > > > > i can't assist with the port in general, but a few weeks ago i came > across a > > tool written (if i'm not mistaken) by ESR which can do things like change > > email address in git export data. i cannot for the life of me find the > page > > again, but i would swear it was called "gitsurgeon" (or something very > > similar). Maybe someone else on this list happens to know what i'm > talking > > about. > > > > > > > > > > _______________________________________________ > > fossil-users mailing list > > [email protected] > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkzkJSYACgkQIaMjFWMehWIvOwCfTQVRxKWCH/AA1XlwCP2mz7Dm > MvYAn2Wp+Mb3pmQsoOu2+L2yXck2LQ19 > =Kur5 > -----END PGP SIGNATURE----- > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

