Am 24.01.2012 19:36, schrieb Alexander Shenkin:
> I'm trying to import a new project into my repo. Here's my repo structure:
>
> repo/
> repo/projectA/
> repo/projectA/trunk
> repo/projectA/branches
> repo/projectA/tags
> repo/projectB/
> ...
>
> I'm new to svn, and as i've looked around the web for examples,
> everyone seems to suggest importing into the repo/project/ directory.
Nope, wrong. There are two wide-spread ways, one is to fork on
trunk/tags/branches first and then to the separate projects, the other
is to first for to separate projects like you did.
> In those examples, tortoiseSVN seems to automagically know to put
> files into the trunk/ subdirectory.
Yes, TSVN has some knowledge of typical structures and tries to guide
you along. Remember though, this structure is pure convention for
Subversion, it is not required, checked or enforced internally!
> However, in my own tests, when I import a directory structure and
> files into repo/projectA/ , those files don't end up in the trunk
> subdirectory in the repo. Rather, they just end up in the
> repo/projectA/ directory.
>
> I'll probably just go ahead an import into
> http://localhost:xxxx/repo/projectA/trunk/ , but I wanted to make
> sure I wasn't doing anything wrong.
I don't think you did anything wrong. BTW: If you have already imported
it, you can use the repository browser to move it to the correct
location afterwards. The way I typically use is to check out the parent
folder of the import and then add the code instead. Since you usually
need a working copy anyways, that doesn't hurt. It also provides you a
point where you can review the import, e.g. to filter out some unwanted
artifacts. Lastly, I'm never sure of whether it will end up inside or
replacing the given target, and I'm effectively working around my
failure here. ;)
Good luck!
Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2910974
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-25 09:37:23 CET