git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Assertion Failed when importing svn into Git
@ 2009-01-09 19:32 4jxDQ6FQee2H
  2009-01-09 19:43 ` 4jxDQ6FQee2H
  0 siblings, 1 reply; 3+ messages in thread
From: 4jxDQ6FQee2H @ 2009-01-09 19:32 UTC (permalink / raw)
  To: git

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assertion Failed when importing svn into Git
  2009-01-09 19:32 Assertion Failed when importing svn into Git 4jxDQ6FQee2H
@ 2009-01-09 19:43 ` 4jxDQ6FQee2H
  2009-01-09 20:05   ` 4jxDQ6FQee2H
  0 siblings, 1 reply; 3+ messages in thread
From: 4jxDQ6FQee2H @ 2009-01-09 19:43 UTC (permalink / raw)
  To: 4jxDQ6FQee2H; +Cc: git

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Assertion Failed when importing svn into Git
  2009-01-09 19:43 ` 4jxDQ6FQee2H
@ 2009-01-09 20:05   ` 4jxDQ6FQee2H
  0 siblings, 0 replies; 3+ messages in thread
From: 4jxDQ6FQee2H @ 2009-01-09 20:05 UTC (permalink / raw)
  To: 4jxDQ6FQee2H; +Cc: git

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!



> 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!  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-09 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 19:32 Assertion Failed when importing svn into Git 4jxDQ6FQee2H
2009-01-09 19:43 ` 4jxDQ6FQee2H
2009-01-09 20:05   ` 4jxDQ6FQee2H

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).