git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Tim Mazid
Message 5 of 5 in “drawbacks to svn server + git-svn vs git server?”
  1. Dexter RileyOct 21, 2009
  2. Pascal ObryOct 21, 2009
  3. Dmitry PotapovOct 21, 2009
  4. Tim MazidOct 28, 2009
  5. Matthieu MoyOct 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.