[cvsnt] Re: Keyword Expansion

John Albrecht albrecht_john at bah.com
Tue Feb 8 14:01:07 GMT 2005


If you are using CVSNT 2.0.58d will the update cmd allow you switch from -kb
to -kB for binary files in your repository? We have some Oracle form files
that use more disk space to store revisions.  

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of
Tony Hoyle
Sent: Monday, February 07, 2005 8:59 PM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: Keyword Expansion


John De Lello wrote:
> I'm a little confused. I checked out CVSROOT, modified my cvswrappers 
> file to include:
> 
> *.php -k 'b'
> 
> Comitted the file, re-started the CVS service. Checked in a PHP file 
> and I'm still getting keyword expansion. Am I missing something?
> 
Yes.  The wrappers only affect add/import.

To change the expansion of an existing file you do:

cvs update -kb foo.php
cvs commit -fm "Change expansion" foo.php

(If you're using an older server this might not work - the alternate 
method is to use

cvs admin -kb foo.php

however this isn't versioned and will affect the older versions, 
possibly making them unreadable).

You probably don't want to make a php file binary though... it'll cause 
all sorts of issues like line endings plus you won't be able to merge it.

Tony


Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt





More information about the cvsnt mailing list