Dealing with repository corruption in one cvs file
Matt Ackeret <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to convert a repository to subversion, and have one corrupted file from the CVS repository. Before a few days ago, I knew *nothing* about rcs file format, and I still don't know much about them. The original error I ran into was this (just removing the exact filename, even though I realize it doesn't really give away any info): ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.8 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.7 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.6 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.5 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.4 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.3 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.2 ERROR: './MYFILENAME.c,v' has no deltatext section for revision 1.1 My *original* attempt at fixing it was adding this to the end of the file --- 1.8 log @DUMMY FAKE ENTRY @ text @#error DUMMY FAKE ENTRY DUE TO REPOSITORY CORRUPTION @ --- and so on through 1.1 That satisfied rlog, IIRC, but then gave another error during checkout. With some help from someone else, the latest attempt was to bsaically remove the #error part and the additions were like this 1.8 log @DUMMY FAKE ENTRY @ text @@ He was able to check out manually, but for me, the co still failed: ERROR: The command 'co -q -x,v -p1.1 ./MYFILENAME.c,v' failed with exit status=1 and the following output: co: ./MYFILENAME.c,v:7948: edit script ends prematurely co aborted So I guess I'm asking for some more ideas about how to add fake entries to the end so I can do a full conversion (with *known* corruption for the very early versions of that file). Or else, how can I ignore just those versions of the file in the upgrade, but keep all of the rest of the tags/branches? Basically, I want to convert as much as possible... Thanks. ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2419172 To unsubscribe from this discussion, e-mail: [[email protected]].