Migrating from CVS to STASH (GIT)

Jakob Skov April 18, 2013

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

2 answers

1 accepted

1 vote
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2013

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.

2 votes
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2013

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

Scott Hung April 18, 2013

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
TAGS
AUG Leaders

Atlassian Community Events