Claus Beerta

Upgrading Wordpress through Subversion diffs

Upgrading Wordpress through the supplied ZIP files on their website has been a constant annoyance to me. But there is an easier way through the Public Subversion Repository from Wordpress:

  1. Pull a Diff between the Version you have locally installed and the latest:
    # svn diff > wordpress.patch
    In this case my installed version is 2.8.3 and i want to upgrade to 2.8.4
  2. Apply the patch to your installation:
    # cd <wordpress directory>
    # cat ~/wordpress.patch | patch -p0

This will unfortunetly only work for code changes though, should there be changes to binary files like Images, you will have to manually pull those from the new release and add them.