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 7796011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:14:23+00:00 2026-06-01T23:14:23+00:00

I have a question regarding how to importing a project into a Subversion repository.

  • 0

I have a question regarding how to importing a project into a Subversion repository. I found a lot of answers by googling, but I could not understand the logic behind it.

The steps I understand is:

  1. Create a project directory with three sub-directories: branches, tags and trunk.

  2. Place all code under trunk.

  3. Run the command:

    svn import project_dir file:///repository_name/project -m "First Import"

    where the project_dir contains the three sub-directories.

After this, I need to check my code out again to another directory:

  1. svn checkout file:///repository_name/project/trunk new_project_dir

  2. Continue working on the new_project_dir.

It seems to me that we create the project_dir for use only once and ignore it.

My questions are:

  1. After I checkout the code into new_project_dir, is the old project_dir still useful? Or it is simply just to give SVN the layout?

  2. Do we ever need to work on the two other sub-directories: branches and tags on our own (e.g. checkout the contents in there)? or it is simply for SVN internal use? If it is for SVN internal use, why can’t SVN create it automatically for us?

  • 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-06-01T23:14:25+00:00Added an answer on June 1, 2026 at 11:14 pm

    You could create the layout in SVN directly if you wanted; using step 3) in your question makes it easier as it allows all in one go. If you follow it, you do not need that initial folder after the import. In fact, the folder you do the import from is not placed under version control, so changes made there will not make it back to the repository

    As for the layout: it is customary to do so, but SVN does not impose a restriction: you could organize your project the way you want. The traditional logic is:

    • trunk denotes the latest known working copy
    • branches have sub folders that denote various development efforts (possibly by separate people) — e.g. for a particular bug fix. You work on it not afected by changes to the trunk or other branches, then merge your changes to the trunk when you are ready.
    • tags are marked versions of the trunk to denote the state of the trunk at a particular time/stage — this is to allow easy location of what belongs to the same release, for example, instead of having to remember several version numbers
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding importing( Via the import/export wizard) an excel spreadsheet into
I have question regarding the SQLAlchemy. How can I add into my mapped class
I have question regarding disabling browser caching. I have already found few solutions, and
This is a duplicate of this question, but specpifically regarding mercurial. I have a
I have question regarding the use of function parameters. In the past I have
I have a question regarding dependency injection. say i want to create a class
I have a question regarding static function in php. let's assume that I have
I have a question regarding the onkeypress event on JavaScript. Is it possible to
I have a question regarding the integration of business objects developed using Linq To
I have a question regarding a window style hexadecimal. According to http://support.microsoft.com/kb/111011/en-us , 0x16CF0000

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.