From: Julian Phillips Date: Thu, 01 Nov 2007 22:57:26 GMT Subject: Debugging corrupt object generation Message-ID: I have been trying to import a repository using fast-import, and as part of this I have extended fast-import to support copying a path from any arbitrary commit. This works fine on my small test repository. However, when I run against my (vastly more complicated) real work repository things don't go so well. I get a few thousand commits in, and then it breaks. It appears that I have somehow managed to create a corrupt object or something. After a certain commit, and attempt to use that commit generates a "fatal: unable to apply delta". This appears to be coming from unpack_delta_entry in sha1_file.c. Can anyone give me any hints as to how I find out what is causing the problem? I'm not even sure what it is that isn't working ... and all attempts to replicate the problem with my test repository have failed. -- Julian --- ...the prevailing Catholic odor - incense, wax, centuries of mild bleating from the lips of the flock. -- Thomas Pynchon, _Gravity's Rainbow_