In my company we use SVN, but want to seamlessly switch to GIT in future. That's why I started to learn git-svn, which promises to serve as a frontend for svn repository.
I tried to use it with following setup:
- SVNREPO - the master svn repository
- GITREPO - git-svn clone of SVNREPO
- REPO1,REPO2,... - git clones of GITREPO representing git-ers
The requirements are:
[ManyGitUsers]
many giters can clone from/push to GITREPO[ManySvnUsers]
many svners commit to SVNREPO[SyncHook]
synchronization between GITREPO and SVNREPO can be done by hook, or manually by admin before the hook is developed[NoInteraction]
giters don't want to know anything about SVNREPO and vice versa[NoProactivity]
users solve all problems (conflicts) when they happen; they don't sync with others to avoid them
Questions:
- Is this setup possible with git-svn ? Suggest other if there is a better one
- How should I configure the GITREPO ?
- Will giters need to be aware of the special backend, or is everything transparent ?
So far, my experiments showed that it moreless works, but commit into SVNREPO breaks the possibility to synchronize with git. I just believe that the reason is me issuing bad commands...