Re: Always corrupt? what's the problem when CVS handles binary file?

From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 08/17/04

  • Next message: Tommy Reynolds: "Re: Something happened to my taskbar"
    Date: Mon, 16 Aug 2004 17:36:05 -0500
    
    

    On Mon, 16 Aug 2004 11:35:16 -0700, lucy wrote:

    > Our group has set the option in the wrapperfiles to treat this kind of
    > ".fig" file to be "binary"... We have stored this wrapperfile in the
    > CVSROOT.

    Please show us the content of your $CVSROOT/CVSROOT/cvswrappers file.
     
    > cvs admin -kb [filename]

    This alone should be sufficient.
     
    > Both file is corrupted.

    The "-kb" switch doesn't really change anything about a file during
    the "cvs add" or "cvs import" step, it just controls how the file gets
    mangled (or not) during a checkout; it's also used by the "cvs diff" command.

    Try this:

    1) Get some binary data:

            $ dd if=/dev/random of=foo bs=1k count=1
            $ cp foo foo.orig

    2) cvs add foo

    3) cvs commit -mNew foo

    4) cvs admin -kb foo

    5) rm foo

    6) cvs update foo

    7) cmp foo foo.orig

    HTH.


  • Next message: Tommy Reynolds: "Re: Something happened to my taskbar"

    Relevant Pages

    • Re: Picture from CRYPTO03
      ... Give cvs a few minutes and you'll see it's quite ... ~/tmp$ mkdir foo ... N foo/bar ...
      (sci.crypt)
    • Re: Always corrupt? whats the problem when CVS handles binary file?
      ... Please show us the content of your $CVSROOT/CVSROOT/cvswrappers file. ... The "-kb" switch doesn't really change anything about a file during ... the "cvs add" or "cvs import" step, it just controls how the file gets ... cvs commit -mNew foo ...
      (linux.redhat.misc)
    • Re: CVS repository issue
      ... I am trying to create a repository on Solaris 10 using cvs from the ... These are the instructions that i am going on: ... $ mkdir foo ...
      (comp.unix.admin)
    • CVS repository issue
      ... I am trying to create a repository on Solaris 10 using cvs from the ... These are the instructions that i am going on: ... $ mkdir foo ...
      (comp.unix.admin)