I recently switched from gitolit to gitlab, and the official gitlab:import:repos rake task worked for me. I am using gitlab 6.1.0 (82f3446). Here is what I did:
rsync naked repositories from githolite to repositories/{group}/ . Be sure to replace {repository} with the name of the gitolite repository and change the host name of your gitlab server.
rsync -rth --progress repositories/{repository}.git \ git@gitlab-server :/home/git/repositories/{group}/
Here {group} is the name of the user group to which you want to add the repository. If you do not have a specific group, select root as the group name.
Fix permissions - only necessary when the rsync user is not git :
sudo chown -R git:git repositories/{group}/
cd ~/gitlab
Run the rake task to import all new repositories:
bundle exec rake gitlab:import:repos RAILS_ENV=production
Now, if you log in as an administrator, you will see that a new project has been added.
For more information, see "Importing bare repositories into an instance of a GitLab project" in http://{your-gitlab-server}/help/raketasks .
In your case, you can log into your old TKL and rsync system all the bare repositories into a new instance, and then import.
source share