Migrating from CVS to STASH (GIT)

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

2 answers

1 accepted

1 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,992 views 26 12
Join discussion

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