2

I've installed Bonobo Git Server (3.4.2.0) locally. I have a SVN server that contains old repositories? How can I import these repositories to work under Bonobo Git Server .

moh_sun
  • 31
  • 3

3 Answers3

3

I too, was/is in the same boat having to migrate our SVN repositories to git (using Bonobo server).

Pretty much followed the instructions in Troy Hunts' blog post here

I deviated by creating an authors file to map svn users to git users, thus appending --authors ../authors.txt to the svn2git command line.

When supplying an authors file, svn2git will stop if there is no record in the file.

The authors file format is 1 line per author
SVNUser = Full Name <email@domain>

snoopy-do
  • 605
  • 4
  • 16
1

Git can import SVN projects

git svn clone <repo>

Taken from: http://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git

More Resources:

https://www.atlassian.com/git/tutorials/migrating-overview/

How to migrate SVN repository with history to a new Git repository?

Community
  • 1
  • 1
Zach Leighton
  • 1,939
  • 14
  • 24
0

What I did was

1 Create a new repo in Bonobo

2 Clone that to my desktop

3 In the clone,

git svn init http://192.168.x.y/svn/my_repo/trunk
git svn fetch
git push origin master
Pete
  • 1,241
  • 2
  • 9
  • 21