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

Re: git-svn in 1.5.4~rc2 somewhat broken?

From
Steven Walter <stevenrwalter@gmail.com>
Date
Dec 30, 2007, 16:07 UTC
Message-ID
<20071230160758.GA7520@dervierte>
In-Reply-To
<87wsqw49dj.fsf@mid.deneb.enyo.de>
On Sun, Dec 30, 2007 at 02:09:28PM +0100, Florian Weimer wrote:
Show 10 quoted lines
> I just tried to run "git svn fetch" on a clone of a Subversion
> repository that used to work fine with 1.5.3.  After trying to fix some
> things up (sorry, scrollback buffer is not deep enough), it now reports
> an index mismatch:
> 
> Index mismatch: efcc3165fb64519ff1784903112d725c8682d5d2 != b3e7f07b5e4b79f682718fe6a31107d74ca35ce6
> 
> And it finally bails out with:
> 
> Last fetched revision of refs/remotes/git-svn was r45313, but we are about to fetch: r851!

Messages like these usually mean you've changed refs/remotes/trunk, which will confuse git-svn unless you know what you're doing. Fortunately, you can usually "rm -rf .git/svn" and git-svn will sort itself out on the next fetch.

-- 
-Steven Walter <stevenrwalter@gmail.com>
Freedom is the freedom to say that 2 + 2 = 4
B2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F 
Previous: Florian WeimerNext: Florian Weimer
Message 2 of 3 in “git-svn in 1.5.4~rc2 somewhat broken?”
  1. Florian WeimerDec 30, 2007
  2. Steven WalterDec 30, 2007
  3. Florian WeimerDec 30, 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.