info-cvs
[Top][All Lists]
Advanced

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

Re: file type


From: address@hidden
Subject: Re: file type
Date: Sat, 13 Dec 2003 11:58:41 -0800 (PST)

On Sat, 13 Dec 2003, Martin Marques wrote:

> Hi, I have a repository with some .tex files that I use to give some courses. 
> The thing is that I include images in the .tex and those images are in the 
> repository as well.
> The problem is that I'm not sure if I added the files (.png images) with or 
> without the -kb flag.
> My question so would be, how can I see if a file is considered binary in the 
> CVS repository, 


Run 'cvs status myimagefile.png' and look at the Sticky Options.  If you see
-kb they are binary.

Unless you have an entry in your cvswrappers file for .png files, these files
are probably not checked in as binary.


> and if not, how (if it's posible) can I change it so that no 
> RCS is handled on them?

I would checkout your CVSROOT module, cvs co CVSROOT, then add an entry 
like the following to CVSROOT/cvswrappers:

*.png -k 'b'

Add a similar entry for all binary file extensions you are likely to 
add to CVS, like .gif, .jpg, and so on.  Then commit the CVSROOT module.

Afterwards, you will need to delete then add again all of the .png image
files that don't have -kb.  You need to go into the CVS repository directory
and manually remove the .png,v files.  However, I would merely rename them
away until you are sure things are good.  After you add your .png files
again, insure they now have the -kb sticky option, you can then delete the
old renamed .png,v files.


Adam
---
Adam Bernstein   address@hidden   http://mpgedit.org/~number6





reply via email to

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