I did no follow the thread from the beginning, so may be, it has been
already said.
It is also possible to change the file without direct operations in the
repo:
cat /dev/null > filename.ext
cvs ci -m 'kb -> kv' filename.ext
cvs admin -kkv filename.ext
copy file from good location
cvs ci -m 'text version of the file' filename.ext
By doing this you can fix repos, which are not directly accessible and keep
the history of the change.
Eugene.
: -----Original Message-----
: From: Dennis Jones [mailto:[EMAIL PROTECTED]]
: Sent: Monday, January 22, 2001 11:12 PM
: To: Larry Jones
: Cc: CVS Mailing List
: Subject: Re: Converting binary files to text
:
:
: Right Larry, the order would have to be:
:
: rm filename.ext # remove the binary file
: cvs rm filename.ext # remove the file from the repository
: cvs ci filename.ext # commit the remove
:
: remove the original file from the Attic
:
: cvs ad filename.ext # add the new text file
: cvs ci filename.ext # commit the add
:
: At this point, the repository is correct, and a 'cvs up -A'
: by the user gets
: him the correct file in his local trees. It's a little
: convoluted, but it
: seems to work.
:
: - Dennis
:
:
:
: ----- Original Message -----
: From: "Larry Jones" <[EMAIL PROTECTED]>
: To: "Dennis Jones" <[EMAIL PROTECTED]>
: Cc: <[EMAIL PROTECTED]>
: Sent: Monday, January 22, 2001 9:07 PM
: Subject: Re: Converting binary files to text
:
:
: > Dennis Jones writes:
: > >
: > > 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
: >
: > Note that you have to commit the remove before you can
: re-add 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?
: >
: > Nope. When you re-add the file, CVS will resurrect the
: repository file,
: > including the -kb flag.
: >
: > -Larry Jones
: >
: > _______________________________________________
: > Info-cvs mailing list
: > [EMAIL PROTECTED]
: > http://mail.gnu.org/mailman/listinfo/info-cvs
:
:
:
: _______________________________________________
: Info-cvs mailing list
: [EMAIL PROTECTED]
: http://mail.gnu.org/mailman/listinfo/info-cvs
:
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs