You are right with one clarification: The svn repository must be set up to 
trigger a rebase in the fetching repository upon committing.

I've found the best way to do this is to have a svn post-commit hook that 
triggers a job that does this (git svn rebase/fetch + push to bare repo). It 
is also good if this job does some kind of mail notification, so that you 
can see what happens. Personally, I use a Jenkins/Hudson job for this.

So to be clear: In order to a dcommit - you must have the latest SVN 
revision in your local repository. 

(Normal git-svn users usually achieve this by doing git svn rebase before 
they do git svn dcommit - but with this git-svn-mirror setup, we have to get 
the latest commit through the fetching+bare repo.)


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to