Re: drawbacks to svn server + git-svn vs git server?
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:47:37
Dexter Riley [off-list ref] writes:
Hello. My group is currently using subversion on our version control server, but would like to move to git as a client. We are considering using git-svn, to avoid revalidating the server software. My question is, are there any major disadvantages to using git-svn versus git?
One rather big drawback is that "git svn dcommit" has to do some history-rewritting. In other words, if you have a local commit A in your repository, and send it to the SVN server with "git svn dcommit", then A is rewritten into A' (same tree content, but different commit message at least, and maybe other details I'm not aware of). If you use git-svn as a "better SVN client", it's not a problem, but if you want to really use the Git part of git-svn, then this history rewritting will break the local branches that reference your A. -- Matthieu Moy http://www-verimag.imag.fr/~moy/