bk-7.2.1ce or pull the tree on bkbits and install it. Then you can run:
bk L `bk bin`/contrib/git2bk.l --help
to get help (or for those so inclined you can read the source, it’s about 1K lines).
To import a tree you do
bk L `bk bin`/contrib/git2bk.l [options] path/to/git-repo
and it’s sort of funky, it leaves the .bk directory right next to the .git directory so the first
thing I’d do is
bk clone path/to/git-repo path/to/bk-repo
The defaults are set up for large imports (where large is ~30K files, ~~500K changesets).
For small trees try --all to get more history.
This works for a lot of repos but there are complicated rename scenarios and other places where it can fail, it’s not our end all to be all importer, it’s just something so you can get some of your history into BK and play.
Enjoy and let us know how it goes on the IRC (or here).