3

We have a Subversion repository that is not going to move to git in the short to medium term, but I would like to use a DVCS for controlling and versioning 3rd party libraries.

Is there a way of using something like svn:externals to fetch/link a revision from git, driven by the Subversion checkout?

3 Answers 3

4

There is no direct way to do this, since svn:externals are restricted to subversion repositories. You might use github for the git repositories, since github has read+write support for svn.

Sign up to request clarification or add additional context in comments.

1 Comment

It's not the answer I was looking for :-( , but it does seem to be the answer, so thanks for your help.
2

You may clone your SVN repository with SmartGit. It will create .gitsvnextmodules file that is analog to svn:externals for Git. SmartGit fully supports this format and displays submodules in the "Directories" view. To update .gitsvnextmodules using UI select a submodule among "Directory" and press Stage.

Comments

1

I'm not sure we have exactly the same problem, but I created a script to solve a similar issue: http://github.com/eneroth/git-externals

1 Comment

Thanks. I think we are going to have to bite the bullet and convert everything from SVN to GIT. It seems controlling GIT from SVN is just not going to happen!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.