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

  • SEARCH
  • Home
  • 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'm running VisualSVN as my SVN server and using TortoiseSVN as the client. I've
When using a simple command line svn client, if you run update you can
I am using the command line SVN client (for speed reasons) and have a
i am using tortoise svn client to download code from code.google.If protocol is http
I'm already using SVN 1.5, both sever(VisualSVN 1.5.1) and client-side(TortoiseSVN 1.5.1) but we are
I have CollabNet Subversion server and client installed, running off of Apache that came
I'm in a pickle. I'm using SVN 1.5 at Beanstalk and Tortoise SVN client
I am working in Eclipse using Subclipse (SVN client) and I have been working
I've got a Server where VisualSVN is running on. Its using HTTP protocol. Everyone
I just started using SVN, and I have a cache directory that I don't

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.