Times read: 526
Read today: 6
Read last: March 21, 2010
When svn up does not work (Wordpress subversion)
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.
People asked me to put up a donate button or something similar, so here it is: if you care to buy me a beer or Red Bull (I drink the Dutch equivalent called Spam Energy), feel free to donate, anything is appreciated!
Most viewed:
Oh, hello (December 2009)Motorola Razr v3i Software and v3i USB DriverWatch Simpsons Episodes Online
h4x3d.com does not host any illegal content. Links/Files referred to are for educational purposes only.


2
2 years ago
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
2 years ago
March 20th, 2008 9:01 am
jez
it’s a pain in the arse I know :/
6
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
June 10th, 2008 7:53 am
jez
@Jonathan: thanks for the hint, I will definitely bash that into putty later on!