version-controlcvskeyword-substitution

How do I disable CVS Sticky Option -kk for keyword substitution?


I have a file in cvs that has Sticky Options set to -kk. This replaces all cvs keywords with just the keyword name to facilitate diffs. For example, $Author: Alex B$ becomes $Author$.

How do I disable the -kk behavior and get back to "normal" cvs where keywords are substituted in? I've tried rm'ing the file and updating, I've tried cvs update -A and neither changes the flag.


Solution

  • cvs update -kkv <filename>
    

    will reset the sticky options to keyword and value

    Edit: Corrected checkout to update, thanks to Alex B for the correction.