-
Notifications
You must be signed in to change notification settings - Fork 3
Home
nazar edited this page Sep 14, 2010
·
3 revisions
plugins.rb is a ruby porcelain to replace GIT’s submodule command.
Please read article and full instructions here.
Good point. There is no reason for not using submodules… except in my case submodules don’t work for me.
I have a central SVN repository which hosts my Rails sites. I have a second SVN repository that hosts two dozen plugins which I modified and which I use in all my Rails apps. The Rails SVN repository pulls require plugins through svn:externals.
Sadly, GIT’s git-svn cannot dcommit to svn if said GIT repository contains submodules.
plugins.rb addresses this by allowing me to clone my Rails plugins and two a two stage push:
- dcommit my main Rails app
- dcommit any modified plugin modules to my second SVN plugin repository
Hopefully git-svn will soon be updated to support dcommiting repositories with submodules.