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.