Posts

Showing posts with the label svn

Tracking Wordpress in Git

I finally decided to sign up for github. What prompted me was the desire to upgrade this blog to WordPress 3.0, from its current Wordpress MU 1.5.1. I find that it is much easier to pull in an upstream branch and make my own changes on top if I use git as opposed to subversion. And since importing the wordpress svn repository into git was an overnight process, I decided to share the resulting git repo on github, so others can speed up their own wordpress git import should they ever want to do that. And that is how my first ever github repo became a repo that is just tracking the progress of wordpress. Good enough for a start. I did not use the default git-svn configuration because it was lacking a few feature I like. First, my local repo is not using the default git-svn branch to tag mapping. Instead, I configure git-svn to prefix all remote branches with "svn" so they are easy to follow. The "trunk" I also push into a branch named trunk, to make it easy to follow ...

External repositories in subversion

Edit the svn:externals property for the directory where the external stuff will go into svn propedit svn:externals . Add a line for each external entry you want to have: local/path http://external/repo local/path2 -r### http://external/repo Example for me adding jokey's virtualbox ebuilds: svn pe svn:externals /var/repos/chutz/app-emulation virtualbox http://overlays.gentoo.org/svn/dev/jokey/trunk/app-emulation/virtualbox virtualbox-additions http://overlays.gentoo.org/svn/dev/jokey/trunk/app-emulation/virtualbox-additions virtualbox-bin http://overlays.gentoo.org/svn/dev/jokey/trunk/app-emulation/virtualbox-bin virtualbox-guest-additions http://overlays.gentoo.org/svn/dev/jokey/trunk/app-emulation/virtualbox-guest-additions virtualbox-modules http://overlays.gentoo.org/svn/dev/jokey/trunk/app-emulation/virtualbox-modules The original tip was here .