{"thread":{"id":"24065","subject":"fast-import doesn't recognise commits it generated?","startedAt":"2010-06-10T10:55:51Z","lastAt":"2010-06-10T10:55:51Z","messageCount":1,"participants":["Rory Hunter"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"143415","messageId":"A78DB34D00374344A0AB65B6523C05DC05969A63@marsden.win.datacash.com","threadId":"24065","inReplyTo":null,"subject":"fast-import doesn't recognise commits it generated?","fromName":"Rory Hunter","fromEmail":"rory.hunter@datacash.com","sentAt":"2010-06-10T10:55:51Z","receivedAt":"2010-06-10T10:55:51Z","isPatch":false,"sender":{"key":"rory.hunter@datacash.com","avatar":null},"body":"Hi,\n\nI'm trying to convert a PRCS repository into git using a custom\nfast-import frontend. It's a very large repository, and I can't convert\nit fast enough to stop users from committing to it while I convert it\n(it takes 4+ days, PRCS is old and not that quick, and I've got over\n7000 commits to migrate. I've been converting from a backup).\n\nI've found that if I do an export up to a certain point, then attempt to\nresume the export using the marks file generated by fast-import, it\ncomplains saying (for example);\n\nerror: unable to find 185643da420354e861743f3056614f4dc78c0246\nfatal: object not found: 185643da420354e861743f3056614f4dc78c0246\n\nI tried this with version 1.5.6.5-3 (+lenny2~bpo40+1, on Debian Lenny),\nand the offending hash and mark were in the marks file, quite a way\nearlier than the point from which I attempted to resume the export.\n\nI installed 1.7.1 from source and tried again and hit the same problem,\nalthough this time it seems to have trampled the marks file in the\nprocess - I had 47 entries instead of 10x that number before trying to\nresume.\n\nThe only other information in the crash report is, \"active_branches = 0\ncur, 5 max\". Not much to go on.\n\nI'm wondering if there are conditions where fast-import will somehow\nignore a revision, or squash it into another revision, such that it\naccepts and processes the command stream that I've generated but doesn't\ngenerate a commit, despite it outputting a hash to the marks file?\n\nThanks and regards,\n\n-- \nRory Hunter\n"}]}