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

git svn fetch gives Index mismatch

From
FMFelix Möller <mail@felixmoeller.de>
Date
Mar 3, 2010, 21:07 UTC
Message-ID
<4B8ECF97.4030006@felixmoeller.de>
Hi,

I am new to git and tried to checkout the Subversion Repository of ADempiere. https://adempiere.svn.sourceforge.net/svnroot/adempiere

I get the following doing it:
Show 5 quoted lines
> [fm@thinkpad adempiere.git]$ git svn fetch
> Index mismatch: fac38f8fdc7d816e9dd26b469e08a98428f3f2a5 != 0aea771bc7629d194ada8bb448e863ffe7868189
> rereading e662b48c06fb9a263f717546ffbb41a39f94d597
>         M       mvcForms/db/ddlutils/postgresql/functions/round.sql
>         M       mvcForms/db/ddlutils/oracle/functions/documentNo.sql
 > ...
Show 15 quoted lines
>         M       mvcForms/client/src/org/compiere/grid/ed/VLookup.java
>         M       mvcForms/client/src/org/compiere/print/Viewer.java
>         M       mvcForms/client/src/org/adempiere/apps/graph/Graph.java
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/branches/stable/data/hu_HU
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/data/hu_HU
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/branches/adempiere341/zkwebui/WEB-INF/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/branches/stable/zkwebui/WEB-INF/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/extend/posterita/webui/WEB-INF/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/extension/posterita/webui/WEB-INF/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/zkwebui/WEB-INF/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/branches/adempiere341/base/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/base/src
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/migration/351a-352a
> Couldn't find revmap for https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk/migration/352a-353a
> merge-base e662b48c06fb9a263f717546ffbb41a39f94d597 7ac062d801daf46537377154daf39e5b21a8f447: command returned error: 1

charon on IRC helped me a lot trying to debug it. I provided the following operations: # git show fac38f8fdc7d816e9dd26b469e08a98428f3f2a5 tree fac38f8fdc7d816e9dd26b469e08a98428f3f2a5

mvcForms/ # git show 0aea771bc7629d194ada8bb448e863ffe7868189 tree 0aea771bc7629d194ada8bb448e863ffe7868189

mvcForms/
# git show e662b48c06fb9a263f717546ffbb41a39f94d597
commit e662b48c06fb9a263f717546ffbb41a39f94d597
Author: tobi42 <tobi42@f8025ce2-341d-0410-ac50-9b82273f5115>
Date:   Fri Oct 23 14:06:12 2009 +0000
     minor compile fix
     git-svn-id: 
https://adempiere.svn.sourceforge.net/svnroot/adempiere/branches/metas@10762 
f8025ce2-341d-0410-ac50-9b82273f5115
diff --git a/mvcForms/client/src/org/compiere/apps/form/VInOutGen.java 
b/mvcForms/client/src/org/compiere/apps/form/VInOutGen.java
index 9f27863..896a340 100644
--- a/mvcForms/client/src/org/compiere/apps/form/VInOutGen.java
+++ b/mvcForms/client/src/org/compiere/apps/form/VInOutGen.java
  -218,7 +218,7 @@ public class VInOutGen extends InOutGen implements 
FormPanel

# git show trunk gives
> # git show trunk
> commit 7ac062d801daf46537377154daf39e5b21a8f447
> Author: teo_sarca <teo_sarca@f8025ce2-341d-0410-ac50-9b82273f5115>
> Date:   Fri Oct 23 08:14:49 2009 +0000
>
>     FR [ 2884541 ] MRequestUpdate should detect automatically the fields
>     https://sourceforge.net/tracker/?func=detail&aid=2884541&group_id=176962&atid=879335
>
>     git-svn-id: https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk@10757 f8025ce2-341d-0410-ac50-9b82273f5115
>
> diff --git a/base/src/org/compiere/model/MRequestUpdate.java b/base/src/org/compiere/model/MRequestUpdate.java
> index 00bf881..728a6fa 100644
> --- a/base/src/org/compiere/model/MRequestUpdate.java
> +++ b/base/src/org/compiere/model/MRequestUpdate.java


I am using git-1.6.6.1-1.fc12.i686.

I'd appreciate help how to get it working. Keep in mind I am a git 
beginner...

Thanks for your help
Felix Möller
Next: Andrew Myrick
Message 1 of 3 in “git svn fetch gives Index mismatch”
  1. Felix MöllerMar 3, 2010
  2. Andrew MyrickMar 3, 2010
  3. Felix MöllerMar 3, 2010

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.