Simple WordPress Upgrade Using Subversion
I’ve been using subversion to update WordPress for a few minor revisions now. I simply followed the 2.2 branch and ran…
svn up…to update my code.
Today I ran…
svn switch http://svn.automattic.com/wordpress/branches/2.3
…followed by visiting the upgrade script page and everything worked beautifully!
Anyone not using subversion to update WordPress is doing way too much work! Time to play with tags…
Now if I was really cool I’d use bzr to maintain my local code changes and plugins in my own repository… maybe later.
Tags: bzr, Open Source, PHP, subversion, wordpress
February 7th, 2008 at 6:10 pm
SVN is the way to go!
They released a minor update recently, I was able to upgrade 3 websites in less than 10 minutes using svn up.
Much better than your client seeing the “You need to upgrade your WordPress now!”, how embarrassing would that be.
Be sure to use svn externals for your plugins..
Navigate to plugins directory
type “svn pe svn:externals .”
e.g.
akismet http://svn.wp-plugins.org/akismet/trunk/
audit-trail http://svn.wp-plugins.org/audit-trail/trunk/
etc.
I need to write a post to help people take an existing WordPress install and migrate it over to SVN, I think that takes just as much time as an actual upgrade.