Julian Klewes

When svn up does not work (Wordpress subversion)

This article was posted in SeptemberFebruary 5, 2008







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!

share me please

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

Interact - Leave a comment

Engage in the conversion and leave a comment.
I would much love to hear from you. Please note however that comments are moderated by default. Advertising and rant is welcomed, yet often discarded...
See left/right for additional information













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!

Trackbacks & Pingbacks

  1. Pages tagged "wordpress" pingbacked Posted February 5, 2008, 11:36 pm
  2. wordpress 2.5 and subversion by Rich Zygler at boringguys.com pingbacked Posted August 2, 2008, 2:55 pm

comment? jump to the form



archives | sitemap | contact | tos

Top
advertise
advertise

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

solarVPS.com - reliale enterprise hosting
you know the game, get in touch with me
3