Two-parter, really:
How do I checkout an entire source tree but only get the trunks of everything, ignoring all branches and tags?
Assuming #1 is doable, is there a way to have there not be any "trunk" directories, and just have the files reside in a folder with the name of the repository?
Most SVN repostiories are structured something like this:
/ |-- /branches |-- /tags `-- /trunk |-- foo `-- bar
So if the root of the repository is at http://www.example.com/svn, you can run
svn co http://www.example.com/svn/trunk
to check out just the trunk. If you want to name the checked-out folder after the project, just add the project name to the command line:
svn co http://www.example.com/svn/trunk myproject
This command should produce a directory structure like:
myproject/ |-- foo `-- bar
No, it's not possible. What you can do is to create a new project add define external links from it to every other projects trunks. External link works like softlink.
You can then chekout everything in one step.
http://svnbook.red-bean.com/en/1.0/ch07s03.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With