Let me add some more information. Here is
what I am thinking MIGHT work:
1) Do a "cvs remove" on the original (binary,
'-kb') file
2) Do a "cvs add" and "cvs commit" using the text
version of the file
Then when a developer does a "cvs update", his
binary version of a file should get replaced with the text one. Sound like
it will work?
- Dennis
----- Original Message -----
Sent: Monday, January 22, 2001 12:13
PM
Subject: Converting binary files to
text
Our repository currently contains some files that
are in a binary format, tagged with the "-kb" option. We now have
the ability (and desire) to convert them to a text format so we can
get the most out of CVS.
So the question I have is, how do I convert the
files to text and remove the "-kb" option, while minimizing the impact on
developers that already have those files checked out? Will CVS handle
this automatically -- effectively removing the binary files and replacing
them with text files during a normal "cvs update"? Or will I have
to tell the developers to first delete the files and THEN do an update?
If the latter will be required, can I prevent developers from
doing updates while the conversion takes place?
- Dennis
|