[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting binary files to text

From: Dennis Jones
Subject: Re: Converting binary files to text
Date: Mon, 22 Jan 2001 23:11:34 -0800

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" <address@hidden>
To: "Dennis Jones" <address@hidden>
Cc: <address@hidden>
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
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]