During project import, SCM needs to be included. Since Google Code only supports a single repository at a time, we should just have a single Code Importer that checks the project to discover the repo type and passes that information to the appropriate SCM tool's
One way to discover the repo type would be to load
https://code.google.com/p/%s/source/browse/ and get the text of the item
id="crumb_root", which will be one of
" git/ ",
" hg/ ", or
" svn/ ".
Log in to post a comment.