Re: how to suppress creation of trunk/tags/branches directories on checkout?
Jamma Tino Schwarze <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Reza, On Mon, Oct 18, 2010 at 01:11:43PM -0700, Reza Naima wrote: > I exported a cvs to svn (-s) and then tried checking it out. the > checked out version created a trunk,tags,branches directory. what do i > need to do to just get it to generate the contents of the trunk when i > check it out and allow me to use other options to check out a specific > branch if needed? When i've manually created svn repositories, i only > see the trunk files when i do a checkout. Or is that just a fact of how > cvs2svn creates the repositories? If so, are there other tools that I > can use to get the behavior i'm interested in? You might want to read some more Subversion documentation (like the Subversion book: http://svnbook.red-bean.com/ ). If you just import something into Subversion, e.g. into /trunk, that will be everything which is in your Subversion repository, therefore you only get that on checkout. If you convert an existing CVS repository, it might contain branches and tags etc. and cvs2svn will of course convert these and put them at the right place in your Subversion repository. If you have a Subversion repository which contains multiple directories, you may simply check out any part of the directory structure like this: svn checkout <your-repository-url>/branches/mybranch or svn checkout <your-repository-url>/trunk Say, you access your repository via file:///my/path/to/repo, then you may simply check out: svn checkout file:///my/path/to/repo/branches/mybranch and Subversion will only create a directory mybranch containing everything from the directory in the repository. Hope that helps, Tino. -- "What we nourish flourishes." - "Was wir nähren erblüht." www.tisc.de ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2673318 To unsubscribe from this discussion, e-mail: [[email protected]].