[cvsnt] Importing binary files

Glen Starrett grstarrett at cox.net
Tue Sep 23 17:43:57 BST 2003


At 07:47 AM 9/23/2003, rog amos wrote:
>I imported binary files using the cvsnt inport command (well actually i 
>imported a very large project that contained both binary and non binary 
>files)...
>  [snip]
>
>1.) before i import again, what file/variable should i set so that CVSNT 
>will know that certain file extensions are binary

There are a couple ways you can set the -kb flags (to indicate the file is 
binary).  The easiest are:
1) Use a front end that will figure it out for you, like TortoiseCVS 
(http://www.tortoisecvs.org/) or WinCVS (http://www.wincvs.org/).

2) Use the cvswrappers file.  Check out your CVSROOT and you'll fund a file 
called "cvswrappers".  I've attached a fairly comprehensive cvswrappers 
file that you can use--BUT know that the downside is that cvs will assume 
that all files with matching extensions are binary.

** Note:  I don't recall if this list allows attachments or not--I suspect 
it doesn't.  Just email me directly if you need this.

Read more about the cvswrappers and how to work with that in the online docs.

>
>2. once i do 1.), can i re-import the necessary modules (directories and 
>sub-directories) over the previous ones without getting a ton of conflicts OR
>3. can i simply delete the affected modules and re-import new modules once 
>1.) is done?

Either should work.  I used the delete option when that happened to me 
because I don't like having known broken binaries in my repository.

Regards,


Glen Starrett
-------------- next part --------------
# This file affects handling of files based on their names.
#
# The -t/-f options allow one to treat directories of files
# as a single file, or to transform a file in other ways on
# its way in and out of CVS.
#
# The -m option specifies whether CVS attempts to merge files.
#
# The -k option specifies keyword expansion (e.g. -kb for binary).
#
# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
#
#  wildcard	[option value][option value]...
#
#  where option is one of
#  -f		from cvs filter		value: path to filter
#  -t		to cvs filter		value: path to filter
#  -m		update methodology	value: MERGE or COPY
#  -k		expansion mode		value: b, o, kkv, &c
#
#  and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'

*.386 -k 'b'
*.3[Gg][Rr] -k 'b'
*.603 -k 'b'
*.850 -k 'b'
*.852 -k 'b'
*.866 -k 'b'
*.[Aa][Cc][Gg] -k 'b'
*.[Aa][Cc][Ll] -k 'b'
*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