I have the following SVN structure:
/Project1
/trunk
( Shared code between all clients of project 1 )
/branches
Client1
( Specific code for version project 1 of the client 1 )
Client2
( Specific code for version project 1 of the client 2 )
/tags
...
/Project2
/trunk
( Shared code between all clients of project 2 )
/branches
Client1
( Specific code for version project 2 of the client 1 )
Client2
( Specific code for version project 2 of the client 2 )
/tags
...
/Shared
/trunk
( Shared code between project 1 and project 2 )
/branches
...
/tags
...
And I would like to know if it’s possible to checkout automatically both Project1 / trunk and Shared / trunk when I checkout Project1 / branches / Client1, in order to have the following structure at wwwroot:
/Project1_Client1
( Specific code for version project 1 of the client 1 )
( Shared code between all clients of project 1 )
( Shared code between project 1 and project 2 )
Here are the steps you have to do to get your solution (thanks to the tips of @Corbin and @Lazy_Badget, look at the documentation of SVN red book):
Add to the directory
/Project1/branches/Client1the following externals definition:As a result, you should get when checking out the directory
/Project1/branches/Client1as directoryProject1_Client1the following local structure: