Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3453634
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:23:50+00:00 2026-05-18T09:23:50+00:00

I am using an SVN client installed on my hostgator account. When I perform

  • 0

I am using an SVN client installed on my hostgator account. When I perform the following command:

svn co http://dev.server.com/proj/trunk/ --username myusername

The files are properly moved over from the SVN server on my local machine except for one thing. Instead of being able to access the website like http:// stage.foo.com/ I have to access it like http:// stage.foo.com/trunk/ this is not good for what I am doing and need to be able to access it like http:// stage.foo.com/. (not the space after http:// is only because the spam preventer went off).

Is this because my svn directory structure looks like this:
/var/svn/proj/
/var/svn/proj/trunk
/var/svn/proj/branches
/var/svn/proj/tags

When I did svnadmin create it did it on /var/svn/proj/ should I have done this on /var/svn/proj/trunk/ instead? I am new to SVN, please advise so I can resolve this issue, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:23:50+00:00Added an answer on May 18, 2026 at 9:23 am

    Use:

    svn co http://dev.server.com/proj/trunk/ /var/www/mysite --username myusername
    

    or:

    svn co http://dev.server.com/proj/trunk/ . --username myusername
    

    The “.” tells it to extract into the current directory, if you make sure you’re in the right directory first.

    Also, if you are using SVN to do releases, and by that I mean you will NOT be modifying the files on the server — I assume you have a development/test site where you will be doing your coding, right? If that’s the case then you should use svn export instead of svn co when you’re doing your release.

    The latter, for “checkout”, will create a hidden .svn directory that keeps track of modified files so you can check them back in. Export copies just the current version of the files, with no extra data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed SVN using the instruction give here: http://alvijee.blogspot.com/2010/08/setting-up-subversion-with-adobe-flash.html I did select JavaHL Native
I am using a sliksvn server and a tortoise client, both installed on my
I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would
i am using tortoise svn client to download code from code.google.If protocol is http
We're currently using SVN with our own server, so I've got the SVN client
environment: client windows 7 ultimate x64 TortoiseSVN(lastest) server ubuntu 10.4 svn (it installed by
I'm using Collabnet SVN client versions 1.5 & 1.6. My local machine is running
I'm using SVN for a project, and for easy deployments to the server we're
I'm using SVN (TortoiseSVN) and often came into the following situation: I wanted to
I'm using git-svn to use git locally and deploy a client's svn repo. However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.