[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems setting up a new project via Subversion: directory structure

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 03 Apr 2009 21:40:35 +0200

Zooey Glass wrote:
> I'm relatively new to Subversion, so I'm sure there is a very simple
> answer to my query.
> However, I'm having trouble figuring it out from the documentation, so
> I'm hoping someone can help me here - apologies in advance if I've
> overlooked something very obvious.
>
> I have just set up a new project hosted on Google code, and I'm
> struggling a little bit getting the right directory structure.
>
> I created my app on my client machine, set up a new project and
>
> uploaded the code using the Tortoise GUI (Windows). However, I've
> wound up with a top level folder for my project - ie trunk/myapp/
> mydirectorystructure, which means that when it is checked out it
> produces a 'nested' folder myapp/myapp. I want to commit the directory
> from inside my project folder, so that when it is checked out it
> creates just one project folder.
>
> I hypothesised that this occured because I did the initial upload by
> right-clicking the project folder and selecting import. So, I reset
> the project and tried doing it from within my project folder, but with
> the same result.
>
> I'd very much appreciate it if someone could help me through fixing
> this. I'm happy to use the command line, provided someone can tell me
> what I should be doing.

The easiest way to start a project is not to use the import command.
Just check out the trunk folder to an empty folder on your harddrive.
Then copy your project files into that folder and arrange the files the
way you like them. Then add the files (TSVN->Add).
After that, commit and you'll have the files 'imported'.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1535098
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-04-03 21:40:56 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.