Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to remove all sticky options in CVS?

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!

like image 278
Jānis Elmeris Avatar asked Oct 22 '22 19:10

Jānis Elmeris


1 Answers

You can remove the binary flag with repo surgery as follows:

  1. Edit the file,v stored in the repo and delete the line(s) with expand @b@;.
  2. If you have checked out versions of 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.

like image 182
Jens Avatar answered Nov 02 '22 04:11

Jens