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

[ANNOUNCE] git-svn-bugfix script (Re: [PATCH] git-svn: Make following parents atomic)

From
Deskin Miller <deskinm@umich.edu>
Date
Dec 7, 2008, 16:10 UTC
Message-ID
<20081207161039.GA21319@euler>
In-Reply-To
<1228665970-21204-1-git-send-email-deskinm@umich.edu>

git-svn has some bugs where it won't create identical commits in different git-svn copies of the same svn history, despite all relevant configuration being identical; oftentimes, the copies will diverge from each other at some point. My theory for a long time was that interrupting git svn fetch could cause this, and it turns out I was right in one case, but since it's not something I could easily interrupt my normal workflow with to do forensics when it occurred, I ended up writing a script to repeatedly fetch from a certain svn repository, and compare refs to a supposedly pristine fetch until the refs diverged or one fetched all the svn history; then, rinse and repeat the process from the beginning. It's available at

git://git.deskinm.fdns.net/git-svn-bugfix.git

Using this script, r3924 of SVN's svn repository flagged one bug repeatedly, for which I've posted a patch. I'm posting the repo because there are other places where history diverges that I've not had a chance to debug yet, so others should feel free to use the script to find and fix them. If anyone feels inclined, I'll gladly take patches to the script, but I don't really care to handle data or bug reports you generate with it (at least not at this point); I can generate plenty of data myself.

Deskin Miller
Previous: Deskin MillerNext: Deskin Miller
Message 2 of 9 in “git-svn: Make following parents atomic”
  1. git-svn: Make following parents atomicDeskin Miller, Dec 7, 2008
  2. [ANNOUNCE] git-svn-bugfix script (Re: [PATCH] git-svn: Make following parents atomic)Deskin Miller, Dec 7, 2008
  3. Deskin MillerDec 7, 2008
  4. git-svn: Make following parents atomicDeskin Miller, Dec 8, 2008
  5. Junio C HamanoDec 8, 2008
  6. git-svn: Make following parents atomicDeskin Miller, Dec 8, 2008
  7. Eric WongDec 8, 2008
  8. Thomas JaroschDec 16, 2008
  9. Thomas JaroschDec 22, 2008

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.