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

Assertion Failed when importing svn into Git

From
44jxdq6fqee2h@dyweni.com <4jxdq6fqee2h@dyweni.com>
Date
Jan 9, 2009, 19:32 UTC
Message-ID
<20090109133234.345dacb9@family.dyweni.com>
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!
Next: 4jxdq6fqee2h@dyweni.com
Message 1 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.