I'm using git apache sync to push my changes to both svn/git .. however there seems to be a problem while executing dcommit [1], even when git says the svn rebase has failed, I can see the commits have made it to svn, but then if I git apache sync again, it rebases correctly and updates the git townhall. I guess I need some git wizardy help on [1]
[1] http://github.com/buildr/buildr/blob/master/doc/scripts/buildr-git.rb#L331 On Wed, Mar 4, 2009 at 9:12 AM, Victor Hugo Borja <[email protected]>wrote: > Hi, > > Yesterday I implemented a tiny tool [1] that allows you to write git-like > commands that improve your git workflow by doing repetitive git commands for > you. > It's generic enough to be used on any git based project. I just used it to > implement buildr's git sync command [2] and svn configuration commands. > > To use buildr-git on a daily basis, just register an alias like > > git config alias.apache '!'"ruby > $PWD/doc/scripts/buildr-git.rb" > > After that you can get help for the registered apache commands: > > git apache help > > For committers willing to sync git<->svn > > git apache help setup svn > > git remote add upstream [email protected]:buildr/buildr.git > git apache update-users > git apache setup svn --username vborja --apache-git upstream > git apache sync > > > [1] http://github.com/buildr/buildr/blob/master/doc/scripts/gitflow.rb > [2] http://github.com/buildr/buildr/blob/master/doc/scripts/buildr-git.rb > > -- > vic > > Quaerendo invenietis. > -- vic Quaerendo invenietis.
