tags:

views:

170

answers:

3

I would like to be able to review code checked into the internal subversion repository before pushing those changes to the remote subversion server. How can I use git to stage the development subversion for review?

I have already fetched the internal subversion into git on my machine. How do I now push the changes into the remote subversion server?

Update: I am looking for a solution that allows me to pull from one subversion repository, review the code and push into a different subversion repository. Is this possible with git-svn?

+2  A: 

Go take a look at creating patches with Git.

cletus
A: 

Why not just have one SVN repository with a development branch and a "blessed" branch where you merge the approved revisions to?

Wim Coenen
+3  A: 

From the git-svn manpage:

--svn-remote <remote name>

Specify the [svn-remote "<remote name>"] section to use, 
this allows multiple SVN repositories to be tracked. Default: "svn"

So add your second SVN server to your .git/config as a new [svn-remote] stanza. You can then use this option to reference it.

ire_and_curses
How would I go about doing the merge and then the commit back into the svn repository?
Shoan