{"thread":{"id":"17066","subject":"Assertion Failed when importing svn into Git","startedAt":"2009-01-09T19:32:34Z","lastAt":"2009-01-09T20:05:36Z","messageCount":3,"participants":["4jxdq6fqee2h@dyweni.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"99813","messageId":"20090109133234.345dacb9@family.dyweni.com","threadId":"17066","inReplyTo":null,"subject":"Assertion Failed when importing svn into Git","fromName":"","fromEmail":"4jxdq6fqee2h@dyweni.com","sentAt":"2009-01-09T19:32:34Z","receivedAt":"2009-01-09T19:32:34Z","isPatch":false,"sender":{"key":"4jxdq6fqee2h@dyweni.com","avatar":null},"body":"Hi,\n\n\nI'm trying to import my SVN repository into GIT and its throwing an\nAssertion Failed error message in text_delta.c  Can someone help me?\n\nThe assertion failed error occurs when running 'svn diff -r 288:289'\nwhich contains only one change - a change made to a binary file. That\nbinary file is the Eclipse dataModel file, both revs (288, 289) have\nthe file marked as application/octet-stream using the svn:mime-type\nproperty\n\n\nsubversion - 1.5.4\ngit        - 1.6.0.6\n\nThe SVN repository was started using 1.4.6, if that matters\n\nHere's the exact error message:\n\n-------\n$ svn diff -r 288:289\nsvn: subversion/libsvn_delta/text_delta.c:609: apply_window: Assertion\n`window->sview_len == 0 || (window->sview_offset >= ab->sbuf_offset &&\n(window->sview_offset + window->sview_len >= ab->sbuf_offset +\nab->sbuf_len))' failed.\nAborted\n-------\n\n\nThanks!\n"},{"id":"99814","messageId":"20090109134307.435ed56f@family.dyweni.com","threadId":"17066","inReplyTo":"20090109133234.345dacb9@family.dyweni.com","subject":"Re: Assertion Failed when importing svn into Git","fromName":"","fromEmail":"4jxdq6fqee2h@dyweni.com","sentAt":"2009-01-09T19:43:07Z","receivedAt":"2009-01-09T19:43:07Z","isPatch":false,"sender":{"key":"4jxdq6fqee2h@dyweni.com","avatar":null},"body":"Hi,\n\nFor more testing, I setup a brand new SVN repository (using v1.5.4).\n\nIn the old SVN Repo, I checked out the problematic file\n(.cache/.dataModel) from rev 288 and rev 289.\n\n\nIn the new SVN Repo, I added the problematic file (from rev 288) and\ncommitted, which became Rev 4.\n\nThen I copied the problematic file (rev rev 289) ontop of that file and\ncommited, which became Rev 5.\n\nI'm successfully able to do a 'svn diff -r 4:5'.\n\nDoes this imply that I have corruption in my old SVN Repository?\n\nOr is something being lost when checking out the file from Rev 289 that\ndoes break SVN in my test?\n\n\n\n\n\n> Hi,\n> \n> \n> I'm trying to import my SVN repository into GIT and its throwing an\n> Assertion Failed error message in text_delta.c  Can someone help me?\n> \n> The assertion failed error occurs when running 'svn diff -r 288:289'\n> which contains only one change - a change made to a binary file. That\n> binary file is the Eclipse dataModel file, both revs (288, 289) have\n> the file marked as application/octet-stream using the svn:mime-type\n> property\n> \n> \n> subversion - 1.5.4\n> git        - 1.6.0.6\n> \n> The SVN repository was started using 1.4.6, if that matters\n> \n> Here's the exact error message:\n> \n> -------\n> $ svn diff -r 288:289\n> svn: subversion/libsvn_delta/text_delta.c:609: apply_window: Assertion\n> `window->sview_len == 0 || (window->sview_offset >= ab->sbuf_offset &&\n> (window->sview_offset + window->sview_len >= ab->sbuf_offset +\n> ab->sbuf_len))' failed.\n> Aborted\n> -------\n> \n> \n> Thanks!\n"},{"id":"99815","messageId":"20090109140536.1fa6fd8b@family.dyweni.com","threadId":"17066","inReplyTo":"20090109134307.435ed56f@family.dyweni.com","subject":"Re: Assertion Failed when importing svn into Git","fromName":"","fromEmail":"4jxdq6fqee2h@dyweni.com","sentAt":"2009-01-09T20:05:36Z","receivedAt":"2009-01-09T20:05:36Z","isPatch":false,"sender":{"key":"4jxdq6fqee2h@dyweni.com","avatar":null},"body":"Hi,\n\nI have resolved this issue.\n\nThere was either corruption in the repository or an incompatibility\nbetween the 1.4.6 and the 1.5.4 formats.\n\nA dump / reload of the repository has resolved the issue.\n\nI can run 'svn diff -r 288:289' successfully on the new repository.\n\nThanks!\n\n\n\n> Hi,\n> \n> For more testing, I setup a brand new SVN repository (using v1.5.4).\n> \n> In the old SVN Repo, I checked out the problematic file\n> (.cache/.dataModel) from rev 288 and rev 289.\n> \n> \n> In the new SVN Repo, I added the problematic file (from rev 288) and\n> committed, which became Rev 4.\n> \n> Then I copied the problematic file (rev rev 289) ontop of that file\n> and commited, which became Rev 5.\n> \n> I'm successfully able to do a 'svn diff -r 4:5'.\n> \n> Does this imply that I have corruption in my old SVN Repository?\n> \n> Or is something being lost when checking out the file from Rev 289\n> that does break SVN in my test?\n> \n> \n> \n> \n> \n> > Hi,\n> > \n> > \n> > I'm trying to import my SVN repository into GIT and its throwing an\n> > Assertion Failed error message in text_delta.c  Can someone help me?\n> > \n> > The assertion failed error occurs when running 'svn diff -r 288:289'\n> > which contains only one change - a change made to a binary file.\n> > That binary file is the Eclipse dataModel file, both revs (288,\n> > 289) have the file marked as application/octet-stream using the\n> > svn:mime-type property\n> > \n> > \n> > subversion - 1.5.4\n> > git        - 1.6.0.6\n> > \n> > The SVN repository was started using 1.4.6, if that matters\n> > \n> > Here's the exact error message:\n> > \n> > -------\n> > $ svn diff -r 288:289\n> > svn: subversion/libsvn_delta/text_delta.c:609: apply_window:\n> > Assertion `window->sview_len == 0 || (window->sview_offset >=\n> > ab->sbuf_offset && (window->sview_offset + window->sview_len >=\n> > ab->sbuf_offset + ab->sbuf_len))' failed.\n> > Aborted\n> > -------\n> > \n> > \n> > Thanks!  \n"}]}