1

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?

Shoan
  • 4,003
  • 1
  • 26
  • 29

3 Answers3

3

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
  • 68,372
  • 23
  • 116
  • 141
2

Go take a look at creating patches with Git.

cletus
  • 616,129
  • 168
  • 910
  • 942
0

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

Wim Coenen
  • 66,094
  • 13
  • 157
  • 251