• Resolved jtbullitt

    (@jtbullitt)


    Hi folks.

    My website consists of a WP blog and a bunch of static HTML pages. (The static pages are not WP “pages”.) For a year I have happily used Subversion to manage the whole site, so I can track versions of my static pages and my WP themes. This means that my whole site — WP and all — is in one big repository. So far, so good.

    Now I want to upgrade WP to the latest version. But how? I can’t simply checkout the latest version into my site with svn (per the Codex) because all my files are already under svn control in another repository (mine). And I can’t just unzip the new WP files into my working copy, because that risks either obliterating my .svn folders, thereby ruining my working copy, OR creating new directories that aren’t properly created under .svn control. Harrumph.

    So… Is there a nifty way to use svn to manage both my own site and any future WP upgrades? It should be so easy, but I just can’t figure it out.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jtbullitt

    (@jtbullitt)

    Silly me. It’s simpler than I thought.

    Let’s say your WP installation is installed on your server at /foo/wordpress. Simply download the latest WP version zip file (say “wordpress-2.6.2.zip”) and unzip it in place:

    unzip wordpress-2.6.2.zip /foo

    Edit the wp-config.php file, commit to the repos and you’re done.

    Could I ask, how did you set your site up to be an SVN repository? A link would be marvellous! I’ve been looking, but can’t find one yet!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    You have to set up your own repository somewhere. It’s fairly easy with most flavors of Linux.

    https://svnbook.red-bean.com/en/1.0/ch05s02.html

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP upgrade for a site already using Subversion?’ is closed to new replies.