[Coin-discuss] Making a file binary in CVS, was MaxCut and Mkc
Stephen Adkins
sadkins at therubicongroup.com
Mon Nov 17 10:02:32 EST 2003
Hi,
The command
cvs admin -kb <file>
tags a file which is in the CVS repository as a binary file.
Binary files in CVS are further explained at
http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_9.html#SEC80
Thanks for all the good work on COIN.
Stephen
On Mon, 2003-11-17 at 08:51, Laszlo Ladanyi wrote:
> Your guess is correct. When we added the compressed files to the repository
> we forgot to mark them binary. This wasn't a problem on any unices.
>
> Is there a cvs expert out there who can tell how to change the type of a file
> in the repository (I'm willing to manually muck with the repository)?
> Otherwise I' ll start to read the manual...
>
> --Laci
>
> On Mon, 17 Nov 2003, Stephan Hennig wrote:
>
> > Laszlo Ladanyi schrieb:
> >
> > > It probably does, unless it's a flag somewhere in WinCVS that you need to
> > > set. Anyone out there who knows WinCVS well?
> >
> > The WinCVS help reads like this:
> >
> > WinCvs provides two ways to add files to a repository :
> > · Add files...
> > · Add binary files...
> > WinCVS now supply some controls when adding files : that's because many
> > user make mistakes when adding files and forget to add "as binary" when
> > the file is binary. It will warn you if you are about to make a mistake.
> >
> > and somewhere else
> >
> > That's why the WinCVS port was implemented for :
> > · Using the import command of the WinCVS client, you'll be able to have
> > a dialog which tells you the current binary mapping and let you modify
> > it. It detects also a lot of common errors and sometimes warn you about
> > something you may care about.
> > · When you hit continue, WinCVS will prepare automatically the line
> > command to cvs with the binary wrappers you want to use.
> > · Finally you can import safely. Both the client and the server will
> > know exactly which files are binary and which one are text.
> >
> > So it seems to me, WinCVS could be smart enough to cope with binary
> > files correctly. Could it be as you're all working with some kind of
> > Unix that no difference was made between text or binary files in the
> > repository ever? Just an idea.
> >
> > Kind regards,
> > Stephan Hennig
> >
> >
> > _______________________________________________
> > Coin-discuss mailing list
> > Coin-discuss at www-124.ibm.com
> > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
> >
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
More information about the Coin-discuss
mailing list