transparent git-svn gateway

Posted by azatoth on Server Fault See other posts from Server Fault or by azatoth
Published on 2010-06-08T19:37:42Z Indexed on 2010/06/08 19:42 UTC
Read the original article Hit count: 332

Filed under:
|
|

Currently we have an subversion repository with the following layout:

  • /trunc
    • /group1
      • /proj1
      • /proj2
    • group2
      • /proj3
      • /etc..
  • /tags
    • /group1
      • /proj1
      • /proj2
    • group2
      • /proj3
      • /etc..
  • /branch
    • /anything temporary

I believe this is an rather bad layout, but at the moment it's difficult to change it fully.

Personally I dislike subversion, due mostly the long time it takes to check history, and also that branching and merging are cumbersome etc. so I really want to use git instead.

Sadly we cant just switch to git as the mental capacity for some might be to overwhelming, so I was looking into git-svn to see if I could practically use that to solve the issue.

Sadly that directly ends up in a bad situation as I want to break down each project into one git repo, and I don't want to have to recreate the git-svn checkout on each computer I work on. so I though perhaps there is an possibility to create some sort of transparent git ?? svn proxy/gateway, so that an push to that repo "commits" to the svn repo, and an commit to the svn repo updates the git repo.

Google hasn't been my friend, have only found generic usage help to use git-svn, so I ask you if you have some good ideas to accomplish this.

© Server Fault or respective owner

Related posts about svn

Related posts about git