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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:37:43+00:00 2026-05-16T22:37:43+00:00

I am trying to come up with a canonical way to structure my source

  • 0

I am trying to come up with a canonical way to structure my source code projects. I use JetBrains IntelliJ IDEA and Subversion (1.6.12) (using SmartSVN as my GUI).

I have created a source directory structure like this:

project
  + trunk
  + branches
  + tags

and open a new IDEA project in the trunk directory. I write some code :-).

I am now going to add the project to a new repository I created on the SVN server (svnadmin create myproject). I am using SmartSVN 6.6.2.

In SmartSVN I tell it to import the code into a new project and point it at my repository using SVN+SSH. SmartSVN warns me that I am importing a directory other than the customary trunk because I gave it the top-level project directory. I am confused. Shouldn’t I import the whole directory structure into SVN?

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-16T22:37:44+00:00Added an answer on May 16, 2026 at 10:37 pm

    When using the standard Subversion directory structure, you don’t usually have all of trunk, branches and tags checked out on your machine, because that will give you many, many copies of the same files on your system, once you have multiple tags or branches. Instead, you usually just have trunk checked out, and may later switch your checkout to point to a branch or tag, or check out a branch or tag you are interested in in a separate directory, if you need to work on them.

    I haven’t used SmartSVN before, but it sounds like it expects to be given just the trunk directory when creating a new project, because it expects that you will only have that checked out. It is perfectly correct to have the directory structure you describe on the server, it just isn’t expecting to get that for the import. Note that if you have already created anything in the tags or branches folders on the client, Subversion won’t know how how they relate to the trunk, and will thus just treat them as entirely separate files. But if those directories are empty upon import, you should be just fine, it’s just warning you that you were importing the code in a slightly unexpected way.

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

Sidebar

Related Questions

I'm trying to come up with a good way to avoid directly using ID's
I'm trying to come up with a way to use a relative stdev range
Trying to come up with a basic way to display code in a way
I am trying to come up with the best data structure for use in
im trying to come up with a design for a wrapper for use when
I'm trying to come up with a way combine two arrays that have different
I am trying to come to grips with using with statements in delphi properly.
I am trying to come up with the best way to implement SQL Data
I'm trying to come up with the best way to handle user subscription and
I've been trying to come up with a way to declare array constants in

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.