How do I switch a file checked in (whether on purpose or inadvertently) from binary to plain text?
I found this discussion, but it doesn't seem to be working as expected: http://groups.google.com/group/gnu.cvs.help/browse_thread/thread/8d0d83414831ae69/58e9af497a696e79?lnk=gst&q=binary+to+text#58e9af497a696e79 We have a file that is not evaluating the keywords upon successive commits. I supposed that the problem must be that it was inadvertently admined or otherwise committed somewhere along the line with -kb. I could simply delete and re-add it, but it's up to version 1.41, and my objective is to retain the log history. I experimented by making a copy of the original and adding it like this: $ cp fc.tex fc-delete.tex $ cvs add fc-delete.tex cvs add: scheduling file `fc-delete.tex' for addition cvs add: use `cvs commit' to add this file permanently $ cvs commit -m "test file" fc-delete.tex /cvs/emp-man/fc-delete.tex,v <-- fc-delete.tex initial revision: 1.1 The keyword strings are properly evaluated. So far so good. Then I switch the file to binary like this: $ cvs admin -kb fc-delete RCS file: /cvs/emp-man/fc-delete.tex,v done I edit the file, then: $ cvs commit -m "edited to add a line after declaring it binary" fc- delete.tex /cvs/emp-man/fc-delete.tex,v <-- fc-delete.tex new revision: 1.2; previous revision: 1.1 The keyword strings remain unchanged, also correct. Next, I do: $ cvs admin -kkv fc-delete.tex RCS file: /cvs/emp-man/fc-delete.tex,v I add another line to the file, followed by: $ cvs commit -m "another change" fc-delete.tex /cvs/emp-man/fc-delete.tex,v <-- fc-delete.tex new revision: 1.3; previous revision: 1.2 However, the keywords are still unchanged. I see this: $ cvs status fc.tex =================================================================== File: fc.tex Status: Up-to-date Working revision: 1.41 Repository revision: 1.41 /cvs/man/fc.tex,v Commit Identifier: 6MFma3kbG0Ikrdlt Sticky Tag: (none) Sticky Date: (none) Sticky Options: -kb It appears that cvs admin -kkv did not really change the binary mode. What can I do? Thank you.
