Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

So, I'm working with an open source project, and I'm making some significant changes to a small module of the project. The project uses SVN as its version control, and I need access to this repository, since there is a lot of active development, and I need to be able to get the updates. At the same time, I don't want to commit my changes to the repository until I've finished and tested it, as well as passing the patch file around for comments. I would also like to have my own repository, so that I can have access to version control capabilities, but I don't want to use the SVN repository, since I'd like to keep my changes out of the main branch until it's done. To make things slightly easier, I will not be modifying anything that is currently in the SVN repository, only adding new files.

The only way I've thought of doing this so far is to use SVN to track the existing files, and use Mercurial, CVS, Git, or some other version control to track my new files, so in the directory I'm working in, I'd have both a .svn and .hg folder. This is kind of a hassle, though.

Does anyone have any other suggestions for how to do this?

share|improve this question
    
I'm looking at Git configurations and notice that the page has moved - flavio.castelli.name/2007/09/04/howto_use_git_with_svn –  aartvark 5 hours ago

1 Answer 1

up vote 10 down vote accepted

I would absolutely embrace the Git-Svn source management structure. Use Git locally, with SVN configured as a remote repository to rebase and push your committed changes into.

Flavio Castelli has a good walkthrough of configuring the git-svn tool to enable exactly the workflow you are looking for:

http://flavio.castelli.name/2007/09/04/howto_use_git_with_svn/

share|improve this answer
    
That's beautiful, exactly what I was looking for, thanks! –  anjruu Mar 3 '11 at 19:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.