Re: drawbacks to svn server + git-svn vs git server?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Oct 28, 2009, 12:19 UTC
- Message-ID
- <vpqbpjrhfs8.fsf@bauges.imag.fr>
- In-Reply-To
- <25994334.post@talk.nabble.com>
Dexter Riley <edbeaty@charter.net> 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/