If a user changes the default SVN checkout url, should we validate that the path actually exists?
Originally by: sakaal
In my project(s) I will need SVN repositories that contain multiple modules, each with their own trunks. An example repository layout would look like this:
When working with Eclipse and Maven, sometimes I also create this /trunks directory at the repository root. Then I use "svn propset" to set the "svn:externals" property for /trunks such that checking out /trunks will automatically checkout all the module trunks under it. See svn:externals in Subversion documentation.
Suppose the user has checked out https://svn.example.com/group/project/trunks to ~/workspace/project
Now, the svn:externals would look like this:
user@host:~$ svn propget svn:externals workspace/project
This allows me to create a Maven parent project pom.xml in the /trunks directory with all its modules checked out from separate trunks.
This is how I can implement separate versioning scheme for all the modules within the same repository.
When using a repository layout like this, I would like to set the default checkout URL to: https://svn.example.com/group/project/trunks
Using that URL the user would get the hierarchical Maven project checked out correctly.
You seem to have CSS turned off.
Please don't fill out this field.
I forgot to add that also the checkout local target directory name should be configurable.
My SF.net project name is "agora-exchange" because "agora" was already taken. The default SVN checkout destination for my "site" module is "agora-exchange-site". However, I would like to advertise "agora-site" as the default checkout local target name.
Please let the user decide how to advertise their SVN repositories. Your defaults do not work well in many cases.
svn co https://svn.example.com/group/project/trunks myproject
I would like to be able to customize both "trunks" and "myproject" above to any reasonable path name.
I know it doesn't address your full request, but you can customize the 'trunks' portion of the checkout URL. If you go to Admin, then Tools, then click on "Checkout URL" for the tool.
Also, in the project upgrade code, after an SVN repo is imported we should remove the 'trunk' from the default checkout URL if there is not a trunk dir.
Created #165: [#3027] Validate SVN checkout url if it's changed (2cp)
Closed #165. Branch 42cc_3027.