Support » Installing WordPress » Question on installing w/ subversion

  • I’d love if someone with some svn knowledge can help me out here as I’m fairly new to subversion. I wanted to use this command to install WP into my root directory (local install):

    svn co http://core.svn.wordpress.org/tags/2.9.2 .

    However, this is not working for me as I keep getting this error:

    svn: ‘.’ is already a working copy for a different URL

    So I tried to use the svn:externals property but I don’t know how to make it so that it installs into my root directory, without creating a sub-directory.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you just open up your terminal and type in the SVN command? You dont’ explain what process you take, so I’m assuming that’s what you do. if so, that’s incorrect. You have to use terminal to change the directory to where you *want* to put the files. Once you do so, you *will* get a directory – it won’t just install the files.

    For example, if you want to install the current nightly build, you open up Terminal (which is Mac, so if you’re on a PC, you have to use some other utility) and it’ll tell you what directory you’re currently in – which is generally the root user area. You need to change your directory to the localhost directory. So for me, I would type in “cd \Desktop” and then “cd \Websites”.

    THEN I would type in svn co http://core.svn.wordpress.org/tags/2.9.2

    In fact, I just did it, and I now have the SVN of 2.9.2 in my Websites directory (which is my root localhost – in the folder called “2.9.2”)

    Does that help?

    Thread Starter EricaS

    (@ericas)

    Sorry about that, I run the command in the directory of my working copy (Trunk, I develop straight out of this folder). The issue is that I cannot figure out how to install straight into the root of this directory. When I run the command I get it installed into a self-created “2.9.2” directory and I don’t want that.

    The codex says to add the dot at the end of the command to install in the current directory but I get that error up above when I try to.

    I guess it doesn’t matter if it gets installed into a new directory, I would just like to know if it’s possible to get it working directly in trunk.

    Yeah, a folder called “2.9.2” is what as created for me, as well.

    Honestly, I don’t know. I know if I’ve ever wanted to move my svn directory, then I’d rename it and move it to where I wanted it to go. However, I usually keep my svn installations in a separate directory from my other development installs.

    Sorry I couldn’t help more!

    Thread Starter EricaS

    (@ericas)

    Thanks for trying! I realized that what I was trying to do probably isn’t possible. I just went the svn:externals property route and installed into a sub-directory “wordpress”. This works just fine.

    I’ve always installed with the trailing slash on the address “/”…

    Old thread, closing to save on spam.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Question on installing w/ subversion’ is closed to new replies.