Articles Tagged svn

SVN to Git

Posted on April 29th, 2009 15:10:41 by landon
Comments

After coming to love the idea of git and related version control systems, I finally decided to move all of my repos over to it. After quite the ordeal of getting gitosis+gitweb+git-daemon set up on Ubuntu, I'm finally ready to move my main personal repositories from SVN to git. Pretty straightforward, but I thought it would be best if I document it here as well:

The process:

  1. Assuming you have git and git-svn installed, go ahead and clone your SVN repository

    git svn clone svn+ssh://lfowles.org/home/landon/src/school
    
  2. Now, you need to clone what you just got from your SVN repo to a new git repo

    git clone --bare school school.git
    
  3. That's it!

Now you have a git repository that you can stick in your gitosis repositories directory or wherever you store these things.


Considering a switch to HG

Posted on March 24th, 2009 00:40:21 by landon
Comments

Over time I've become more and more disenchanted with SVN (especially when I found out that DVCS like git have commits seperated from pushes... revolutionary!) Soon enough I'll probably be switching my own repositories from SVN to Mercurial. Only a few things holding me back though:

  1. SVN is everywhere! If the computers at school have any VCS type things installed, it's usually TortoiseSVN.
  2. Well, actually, there's only one thing holding me back