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

Re: Adding to new repository

From: Matjaz <mc1607slo_at_gmail.com>
Date: 2007-12-25 07:09:28 CET
Larry Marshall wrote:
When I add the first project to the repository, I
chose Add from the Tortoise menu after selecting the
project folder. After I commit the addition, I see
that this project has been added to the parent of the
repository, not the trunk folder. (...)

How do I property add a new project to the trunk
folder?
  
You're working copy is obviously not checked out from trunk but from top folder. I'm not sure why you don't see trunk/braches/tags structure on your local drive.

The procedure is like this: after you have created the repository, you need to check it out. You can check out the top folder (say https://svn.yourcompany.com/repos/myrepo). This way you get local copy of the whole repository - in the beginning this means the three folders mentioned. You need to start adding projects, files... in the correct (trunk) folder on disk and commit them from there.

The second option is to check out specific folder from svn: https://svn.yourcompany.com/repos/myrepo/trunk. Now you can add your projects, files directly into the check out folder.

For larger projects you'll probably want to choose this second option to avoid having different copies of approximately the same source multiple times. You can than use the Switch command to make your working copy point to another folder (trunk, specific branch, specific tag) in the repository.

Hope that helps.

Matjaz
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org For additional commands, e-mail: users-help@tortoisesvn.tigris.org Received on Tue Dec 25 07:09:38 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.