I have accidentally commited a file to CVS as binary (sticky option -kb), and now I would like to remove it. Is it possible?
I've found a way to change the option to something else with cvs admin -kv , but is there a way to remove it completely?
I've also tried to remove the file and then re-add again (without specifying any sticky options), but also the new revision of the file has the same old -kb option.
Thanks!
You can remove the binary flag with repo surgery as follows:
file,v
stored in the repo and delete the line(s) with expand @b@;
.file
, edit CVS/Entries
and remove the -kb
for file
at the end of /file/1.1/Mon Sep 9 09:30:10 2013/-kb/
so the line ends with //
.That did the trick here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With