Migrating from CVS to STASH (GIT)

How do i import my old CVS repositories to STASH (git)

2 answers

1 accepted

1 vote
Accepted answer

Have a look at git cvsimport, parsecvs or cvs2git. These tools can convert your CVS repository to a git repository.

After you've converted it to git, you can push your new repository to Stash.

I think it is a 2-step process.

1) use cvss2svn to migrate from CVS to a temp SVN repository. - http://cvs2svn.tigris.org/cvs2svn.html

2) Use SVN importer for stash - https://marketplace.atlassian.com/plugins/org.tmatesoft.subgit.stash-svn-importer

This is the approach I took except for #2 I used 'git svn' to import the SVN repo and put Stash on top of that. Why didn't I use the SVN importer for stash? Mostly because I didn't know about it. :-)

Some useful reading on using 'git svn':

http://git-scm.com/book/en/Git-and-Other-Systems-Git-and-Subversion

http://stackoverflow.com/questions/79165/how-to-migrate-svn-with-history-to-a-new-git-repository

http://blokspeed.net/blog/2010/09/converting-from-subversion-to-git/

http://john.albin.net/git/convert-subversion-to-git

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you