[Top][All Lists]

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

Re: Binary files

From: Gianni Mariani
Subject: Re: Binary files
Date: Wed, 30 Jan 2002 09:08:57 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

anamika mathur wrote:

Dear Friends,
          What all things we should keep in mind
while using binary files in cvs?
1> if a file has been added in the repository
without using import -kb option. How can we stop the
keyword subsitution and canonical endings in these

read up on 'cvs admin'

A choice example in the cvs "info" page.

  If a file accidentally gets added without `-kb', one can use the
`cvs admin' command to recover.  For example:

    $ echo '$Id$' > kotest
    $ cvs add -m"A test file" kotest
    $ cvs ci -m"First checkin; contains a keyword" kotest
    $ cvs admin -kb kotest
    $ cvs update -A kotest
    # For non-unix systems:
    # Copy in a good copy of the file from outside CVS
    $ cvs commit -m "make it binary" kotest

2> if we have imported a binary file using kb
option.Is it enough or we need to do something more?

You can't share these files like you do mergable text files. If two people modify these at the same time you'll get conflicts. You can use cvs watch to help manage this but
it's proably overkill in many situations.

With Warm Regards,

Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!

Info-cvs mailing list

reply via email to

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