On 12 January 2014 05:03, Shantanoo <shantanoo@gmail.com> wrote:
Am not a git advance user. Can git submodules
(http://www.git-scm.com/book/en/Git-Tools-Submodules) be used for such
scenario?

Yes -- that's what we are doing. 'git clone --recursive http://github.com/wikimedia/pywikibot-compat' would do the right thing.

However, GitHub does not convert the git submodule to an svn externals property, and doesn't have an option to set this manually.

One option to solve this is to have an externals svn repository, which has two svn:externals properties:

pywikibot-compat  http://github.com/wikimedia/pywikibot-compat
pywikibot-compat/i18n http://github.com/wikimedia/pywikibot-i18n

However, that requires finding that svn server, and maintaining the svn:externals properties when anything changes. If anyone wants that, feel free to set it up.

Merlijn