Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making Commits to a Local copy of an SVN repository

I've checked out a copy of a project hosted on google code. I'm going to be making changes to it, and I'd like to keep these under version control on a repository on my local machine.

I'd like to use svn if possible, because I already know the very basics of creating a repository, checking out and committing.

Can I do this with svn or should I be looking at distibuted version control? I'm using Linux, not Windows.

like image 811
Alasdair Avatar asked Dec 09 '22 20:12

Alasdair


1 Answers

I've been very happy using svn against a remote repository + using mercurial or git as a local repository on top of the svn repo.

They're both distributed source control tools, and I like them both for slightly different reasons.

I've found it to be very powerful to use my own local repo that coincides with a remote subversion repository...

Update

Although I really like the answers about exporting from google code, and importing to your local repo, what I really like about the combination of svn and git/mercurial is that you can periodically do an svn update to get the latest code from google, and then to a git commit or an hg commit to add the latest code to your local repo.

Much simpler than periodically doing an svn export into your repo to get updates.

Additionally, using git/mercurial, you have powerful branching/patching tools available that svn doesn't make so easy.

like image 147
John Weldon Avatar answered Dec 22 '22 12:12

John Weldon