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

Re: Git / Subversion Interoperability

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 24, 2007, 06:56 UTC
Message-ID
<20070324065632.GE25863@spearce.org>
In-Reply-To
<46044DF6.6070902@midwinter.com>
Steven Grimm <koreth@midwinter.com> wrote:
Show 19 quoted lines
> Christian Wiese wrote:
> >I'm currently facing this issue while trying to migrate from svn to git
> >within my local working environment to gather experience while working
> >with git to be able to effectively "sell" git to the other people of
> >our project and provide a smooth migration path for them.
> >  
> 
> Would a git svn server be of interest in such a situation, though? 
> That's exactly the situation I'm in, and git-svn is doing an admirable 
> job of integrating the two environments without disrupting the folks who 
> are happy with svn. It seems like the git svn server would be useful in 
> the opposite environment, where you have a git project that people want 
> to access with svn tools (e.g. because there's no git integration in an 
> IDE or whatever.)
> 
> Maybe I'm just misunderstanding what the server in question would do, 
> but it seems like it's not likely to be that useful in cases where you 
> already have a real svn server running and holding the canonical copy of 
> the project.

Well, it does make it harder to transparently remove the SVN server and drop in a Git based one. ;-)

But I think Steven is right; like the git-cvsserver you can't do everything with git-svnserver that you could have done with SVN or with Git. But you can get basic access to the Git repository and still work with it through SVN based tools.

If that means that we export things according to the suggested SVN repository layout, so be it. Its difficult to argue with us when we've followed the SVN advice. ;-)

Christian pointed out that some projects may have different "slightly related" modules stored in the same repository, and have come to expect this to work in certain ways. Moving to Git is difficult for them as git-svnimport and git-svn can have a difficult time divining the correct layout from the soup that is available in SVN.

But its also hard for Git to export soup back. That is, even once we've successfully decoded the soup we don't really have good submodule support, so we cannot (easily) take two different Git repositories (one per "slightly related" module) and export them under a single SVN name/revision-space.

-- 
Shawn.
Previous: Steven GrimmNext: Sam Vilain
Message 20 of 25 in “Git / Subversion Interoperability”
  1. Bruno Cesar RibasMar 22, 2007
  2. Shawn O. PearceMar 23, 2007
  3. Julian PhillipsMar 23, 2007
  4. Shawn O. PearceMar 23, 2007
  5. Julian PhillipsMar 23, 2007
  6. Karl HasselströmMar 23, 2007
  7. Bruno Cesar RibasMar 23, 2007
  8. Karl HasselströmMar 23, 2007
  9. Julian PhillipsMar 23, 2007
  10. Bruno Cesar RibasMar 23, 2007
  11. David LangMar 23, 2007
  12. Daniel BarkalowMar 23, 2007
  13. Shawn O. PearceMar 24, 2007
  14. Karl HasselströmMar 24, 2007
  15. Linus TorvaldsMar 24, 2007
  16. Junio C HamanoMar 24, 2007
  17. Sam VilainMar 26, 2007
  18. Christian WieseMar 23, 2007
  19. Steven GrimmMar 23, 2007
  20. Shawn O. PearceMar 24, 2007
  21. Sam VilainMar 26, 2007
  22. Jakub NarebskiMar 23, 2007
  23. Shawn O. PearceMar 24, 2007
  24. Eric WongMar 24, 2007
  25. Eric WongMar 24, 2007

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.