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

Re: Assertion Failed when importing svn into Git

From
44jxdq6fqee2h@dyweni.com <4jxdq6fqee2h@dyweni.com>
Date
Jan 9, 2009, 20:05 UTC
Message-ID
<20090109140536.1fa6fd8b@family.dyweni.com>
In-Reply-To
<20090109134307.435ed56f@family.dyweni.com>
Hi,
I have resolved this issue.

There was either corruption in the repository or an incompatibility between the 1.4.6 and the 1.5.4 formats.

A dump / reload of the repository has resolved the issue.
I can run 'svn diff -r 288:289' successfully on the new repository.
Thanks!
Show 56 quoted lines
> Hi,
> 
> For more testing, I setup a brand new SVN repository (using v1.5.4).
> 
> In the old SVN Repo, I checked out the problematic file
> (.cache/.dataModel) from rev 288 and rev 289.
> 
> 
> In the new SVN Repo, I added the problematic file (from rev 288) and
> committed, which became Rev 4.
> 
> Then I copied the problematic file (rev rev 289) ontop of that file
> and commited, which became Rev 5.
> 
> I'm successfully able to do a 'svn diff -r 4:5'.
> 
> Does this imply that I have corruption in my old SVN Repository?
> 
> Or is something being lost when checking out the file from Rev 289
> that does break SVN in my test?
> 
> 
> 
> 
> 
> > Hi,
> > 
> > 
> > I'm trying to import my SVN repository into GIT and its throwing an
> > Assertion Failed error message in text_delta.c  Can someone help me?
> > 
> > The assertion failed error occurs when running 'svn diff -r 288:289'
> > which contains only one change - a change made to a binary file.
> > That binary file is the Eclipse dataModel file, both revs (288,
> > 289) have the file marked as application/octet-stream using the
> > svn:mime-type property
> > 
> > 
> > subversion - 1.5.4
> > git        - 1.6.0.6
> > 
> > The SVN repository was started using 1.4.6, if that matters
> > 
> > Here's the exact error message:
> > 
> > -------
> > $ svn diff -r 288:289
> > svn: subversion/libsvn_delta/text_delta.c:609: apply_window:
> > Assertion `window->sview_len == 0 || (window->sview_offset >=
> > ab->sbuf_offset && (window->sview_offset + window->sview_len >=
> > ab->sbuf_offset + ab->sbuf_len))' failed.
> > Aborted
> > -------
> > 
> > 
> > Thanks!  
Previous: 4jxdq6fqee2h@dyweni.com
Message 3 of 3 in “Assertion Failed when importing svn into Git”
  1. 4jxdq6fqee2h@dyweni.comJan 9, 2009
  2. 4jxdq6fqee2h@dyweni.comJan 9, 2009
  3. 4jxdq6fqee2h@dyweni.comJan 9, 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.