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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,011 views 1 5
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