threads / discuss / 16228

[question] git svn fail to fetch GCC source due to index mismatch

Subject: [question] git svn fail to fetch GCC source due to index mismatch

## tl;dr

2 messages between Nov 7, 2008 and Nov 8, 2008.

replies: 1people: 2as markdown or json

dennis· Nov 7, 2008, 20:24 UTC · lore
HI:
   I have problem when use git svn fetch command to
retrieve the GCC source code.
It says index mismatch, then  abort,  any suggestion?
  
$git svn fetch
Index mismatch: 98ba56dbceddf50ebfab9e4649e9b1b1a319b377 !=
4f40f4619690f89454614be0eba63d584d25523e
rereading 19e22aa4cbc9f7e3667243481f33c859e3bba358
Found possible branch point: svn://gcc.gnu.org/svn/gcc/trunk =>
svn://gcc.gnu.org/svn/gcc/trunk, 130802
Initializing parent: git-svn@130802
Found branch parent: (git-svn) 9a08076e1ad241080838d547f64a2a9aceb083ca
Index mismatch: 4f40f4619690f89454614be0eba63d584d25523e !=
98ba56dbceddf50ebfab9e4649e9b1b1a319b377
rereading 9a08076e1ad241080838d547f64a2a9aceb083ca
Following parent with do_switch
Malformed network data: Malformed network data at
/usr/libexec/git-core/git-svn line 2340
$git branch -a
git-svn
git-svn@130802
 
Björn Steinbrink· Nov 8, 2008, 20:34 UTC · re: dennis · lore

Re: [question] git svn fail to fetch GCC source due to index mismatch

On 2008.11.08 04:24:51 +0800, dennis wrote:
Show 24 quoted lines
> HI:
>    I have problem when use git svn fetch command to
> retrieve the GCC source code.
> It says index mismatch, then  abort,  any suggestion?
> 
>   
> $git svn fetch
> Index mismatch: 98ba56dbceddf50ebfab9e4649e9b1b1a319b377 !=
> 4f40f4619690f89454614be0eba63d584d25523e
> rereading 19e22aa4cbc9f7e3667243481f33c859e3bba358
> Found possible branch point: svn://gcc.gnu.org/svn/gcc/trunk =>
> svn://gcc.gnu.org/svn/gcc/trunk, 130802
> Initializing parent: git-svn@130802
> Found branch parent: (git-svn) 9a08076e1ad241080838d547f64a2a9aceb083ca
> Index mismatch: 4f40f4619690f89454614be0eba63d584d25523e !=
> 98ba56dbceddf50ebfab9e4649e9b1b1a319b377
> rereading 9a08076e1ad241080838d547f64a2a9aceb083ca
> Following parent with do_switch
> Malformed network data: Malformed network data at
> /usr/libexec/git-core/git-svn line 2340
> 
> $git branch -a
> git-svn
> git-svn@130802
ad0a82bae: git-svn: Always create a new RA when calling do_switch for svn://

According to the commit message, that fixed a problem that caused the "Malformed netword data" error. It's in git v1.6.0.3, so if you have an older git version, try upgrading.

HTH Björn

← back to recent threads