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

Re: git-svn and repository hierarchy?

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Feb 26, 2009, 01:02 UTC
Message-ID
<eaa105840902251702l68bc35f3ia15b1c804a6825f3@mail.gmail.com>
In-Reply-To
<20090225232442.GC4573@raven.wolf.lan>
On Wed, Feb 25, 2009 at 6:24 PM, Josef Wolf wrote:
> And IMHO, there's one catch: to synchronize, I need to tightly
> coordinate the work on git-svn-repos with the work on its clones.  The
> clones are not reachable most of the time, so tightly coordinating
> would slow down the flow of changesets extremely.

Not sure if it helps, but for what it's worth, I use a circular setup: git-svn-repos is updated from subversion-repos (by cron), but is otherwise read-only. cloneN can pull from git-svn-repos (since git-pull is a whole lot faster than git svn fetch, especially for the initial clone), but has to "git svn dcommit" to push changes back upstream.

This configuration puts any potential rebase conflicts back into the hands of cloneN. No need to coordinate clones, aside from each clone needing to know how to work in a "commits will be rebased by upstream" type of environment (which isn't unique to git-svn). Oh, and make sure you're using a recent git; older git-svn didn't have the incremental index rebuild.

Peter Harris
Previous: Josef WolfNext: Josef Wolf
Message 4 of 24 in “git-svn and repository hierarchy?”
  1. Josef WolfFeb 24, 2009
  2. Michael J GruberFeb 25, 2009
  3. Josef WolfFeb 25, 2009
  4. Peter HarrisFeb 26, 2009
  5. Josef WolfFeb 27, 2009
  6. Peter HarrisFeb 27, 2009
  7. Josef WolfFeb 27, 2009
  8. Peter HarrisFeb 28, 2009
  9. Josef WolfFeb 27, 2009
  10. Michael J GruberFeb 27, 2009
  11. Josef WolfFeb 27, 2009
  12. Michael J GruberFeb 28, 2009
  13. Josef WolfMar 3, 2009
  14. Peter HarrisMar 3, 2009
  15. Josef WolfMar 3, 2009
  16. Peter HarrisMar 4, 2009
  17. Josef WolfMar 4, 2009
  18. Peter HarrisMar 4, 2009
  19. Josef WolfMar 5, 2009
  20. Peter HarrisMar 5, 2009
  21. Josef WolfMar 6, 2009
  22. Peter HarrisMar 6, 2009
  23. Josef WolfMar 6, 2009
  24. Florian MicklerMar 8, 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.