On Mon, Dec 29, 2014 at 4:17 AM, Baruch Burstein <bmburst...@gmail.com>
wrote:

>
>
>> 2) is there a way to change the author name and email of all presents
>> commits?
>>
>
> Once the data is in the Fossil repo it cannot be changed. Any changes have
> to be done either in the git repository before exporting, or on the
> exported file before importing. I am not familiar enough with git to know
> if such tools exist, or even if these things are possible.
>
>
There exists a special tag that will change the displayed user name for a
single check-in.  The original username is preserved and is accessible, but
the modified user name is the one used on timeline displays and such.  If
you click on the link to a particular check-in in the timeline, then click
on the "Edit" link for the check-in information page, it takes you to a
screen that lets you "modify" the check-in in various ways, such as
changing the user name.  But Baruch is correct in saying that the check-in
is not really modified - what this does is create a special tag that says
"display this alternative username on the timeline".

Unfortunately, there is no way to do this for every check-in all at once.
You would have to go through and create separate tags for each check-in.
There is probably a way to script this.  But it would be better to change
the names in git prior to import, probably.  Or, run the git-fast-export
text through a sed script that makes the change prior to sending into
"fossil import".

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
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