info-cvs
[Top][All Lists]
Advanced

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

RE: [Maybe Spam] Re: [OFT] scripting removal of $Id:


From: Euan Guttridge
Subject: RE: [Maybe Spam] Re: [OFT] scripting removal of $Id:
Date: Fri, 20 Feb 2004 16:49:31 -0000

Thanks but the exercise is too strip out the line completely - reason being
to minimise unnecessarily checking of code 'conflicts' while merging with
eclipse.

-----Original Message-----
From: Geoff Beier [mailto:address@hidden
Sent: 20 February 2004 16:32
To: Euan Guttridge
Cc: address@hidden
Subject: [Maybe Spam] Re: [OFT] scripting removal of $Id:


Euan Guttridge wrote:
> Has anybody come across a shell script to parse a large number of text
> files, removing the CVS keyword replacement lines (all containing $Id:)?
> 
It's not a shell script, but is the -kk option to checkout or export 
good enough for you? It doesn't remove the whole line (a bad idea 
anyway, since sometimes other information may be on the line :-)) but 
removes any potentially sensitive information.

For example, if you issue the command

cvs export -Dnow -kk module

all keywords in module will be changed to just the keyword value:

$Revision: 1.1$ becomes $Revision$ and so on.

HTH,

Geoff




reply via email to

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