This tool allows you to transform a git repository into a fossil repository.
It does so by using the 'fast-export' sub command of recent git releases.

<b>Please Note:</b> <ol><li>Previous versions of fossil are missing the 'reconstruct' command that this script depends on. Please use a current release</li>
<li>Currently this script does not work on MS Windows because of limitations in the Windows file

<b>To Clone:</b>
<verbatim>
fossil clone git_import.fsl
</verbatim>

At present it ignores several things:
  *  symlinks - fossil doesn't support these
  *  branches - any time a git repo branches it's treated as a leaf in fossil. It works out to be basically the same.

Both of those are things which may be fixed in a future release, at present, however, it's usually sufficient to recreate the tags and branches by hand.

You can get started with it by cloning this repository and running:
<verbatim>
import-git-export.pl <path to git checkout>
</verbatim>

By default it transforms the resultant <code>git-history.txt</code> into a series of artifacts under

You can control the output directory by running it like so:
<verbatim>
import-git-export.pl <path to git checkout> <artifacts dir>
</verbatim>
If the directory doesn't exist, it will be created for you.