Migrating from CVS to STASH (GIT)

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

2 answers

1 accepted

This widget could not be displayed.

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.

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,599 views 9 11
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