Today Wordpress 2.3.3. was released as an urgent security update to the last version.
I wanted to update my install by making use of my subversion install:
so as usually I’d go on with opening PuTTy and logging into my server.
From sh I’d enter
svn up
This for some reason did not fetch all files and no real update was carried out. Any idea why? I have no guess.
So what I did was:
svn sw http://svn.automattic.com/wordpress/tags/2.3.3/
More to type, but luckily this does update everything. Still an annoyance that svn up did not work.
If you enjoyed this post, make sure you subscribe to my RSS feed!

h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.




2
March 20, 20081:12 am
March 20th, 2008 1:12 am
Drew
I’m getting the same problem. The odd thing is I have one blog that updates to betas with “svn up” and one blog that doesn’t. I read on another site that it could have to do with permissions, but I checked and changed the permissions to be what they should, but the site still won’t update with “svn up”; I have to do as you’ve shown with the “sw” command instead. Annoying.
4
March 20, 20089:01 am
March 20th, 2008 9:01 am
jez
it’s a pain in the arse I know :/
6
May 2, 20084:49 pm
May 2nd, 2008 4:49 pm
Jeremy
You have to use the sw command because your svn is tied to a particular branch. For instance, at the time you posted, your blog’s svn was set to 2.3.3 and you will need to keep switching to stay updated. “svn update” only updates your stuff to the branch that you’re on. You /could/ sw to wordpress’s trunk, but then you risk breakage and difficulties (in exchange for earlier access to new features).
8
May 2, 20084:52 pm
May 2nd, 2008 4:52 pm
jez
@Jeremy: thanks a lot for your detailed comment! I do now understand why I have to use svn sw .. , still it is annoying :) Using the bleeding edge release is one possibility, as stated by you, however this comes at certain caveats…
10
June 9, 20088:08 pm
June 9th, 2008 8:08 pm
Jonathan
There’s a happy medium:
svn sw http://automattic.com/wordpress/branches/2.5/ .Today that would give you v2.5.2 alpha. And the only svn sw you’d have to do is when the 2.6 branch is ready enough for you.
12
June 10, 20087:53 am
June 10th, 2008 7:53 am
jez
@Jonathan: thanks for the hint, I will definitely bash that into putty later on!