[cvsnt] Re: How to Import module without modify the tag

Matt Schuckmann matt at schuckmannacres.com
Fri Sep 30 21:18:16 BST 2005


Bo Berglund wrote:
> On Fri, 30 Sep 2005 23:23:13 +0800, Wisley Wisley
> <wisley.hk at gmail.com> wrote:
> 
> 
>>Hi all,
>>I am not sure if there is anyone who asked the same question before,
>>however I cannot find it in the archive.
>>My question is the source which I download from sourceforgee with tag $id$
>>* $Id: create.php,v 1.14 2005/01/03 12:56:20 nbm Exp $
>>
>>However when I Import the project to a module, the tag become
>>* $Id: create.php,v 1.1 2005/09/30 05:21:49 administrator Exp $
>>
>>Is there any way I can prevent the tag being update by the CVS?
>>What I want to do is to compare the source from my own with the
>>original, however with this tag different, almost every file show
>>modified.
>>I am currently using wincvs which location in my personal desktop.
>>
> 
> 
> You are not talking about tags at all!
> Tag is a way cvs uses to mark a set of files as connected to each
> other across many revisions.
> What you are talking about is keyword expansion which you should
> switch off during updates and checkouts. There is a switch for this in
> these commands (I am not sure of the exact usage since we never have
> any keywords in our files and so do not need these switches.)
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)

I think you want to add the -k-v option to your checkout or update. This 
should prevent the keywords from being expanded during checkout or update.



More information about the cvsnt mailing list