/I'm only posting this for users like myself who has very little git
experience but comfortable with svn and only want to get the latest source.
It is by no means intended to be used by the main developers./
github supports a limited version of svn via git-svn (
https://github.com/blog/966-improved-subversion-client-support Improved
subversion client support )
One of the main limitations is that it does not allow svn:externals.
I created a script that bypasses this limitation (sort of) by creating the
svn:externals at checkout time.
Note: due to the conflict with the existing .gitmodules folders I had to use
a symbolic link (junctions in windows) to bypass the issue. Should these
folder change be committed via subversion back to the main git repository,
it will break the .gitmodules. (So don't do it)
I have tested the checkout and compiling the source on a unix system using
the script below and did not have any issues. I only tested the checkout
procedure on windows - I'm not sure if the junctions will cause any issues.
Once the repo is setup you only need to do a "svn up" to keep it up to date.
(which is all I want at this time)
You will need to modify the config section in the script to checkout the
desired branch/trunk...
There is one limitation - you need to use svn 1.7 client as it requires the
new .svn folder structure.
http://osgeo-org.1560.n6.nabble.com/file/n4983006/geonetwork_svn_external_repository.bat
geonetwork_svn_external_repository.bat
http://osgeo-org.1560.n6.nabble.com/file/n4983006/geonetwork_svn_external_repository.sh
geonetwork_svn_external_repository.sh
Enjoy...
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/git-svn-for-checkout-with-externals-tp4983006.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.