Re: Change keywords for already added files

"Glen Starrett" <glen.starrett-qn/[email protected]> Sun, 28 Mar 2010 08:33:02 +1100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Hi Neal,

 

There is a better way to achieve that, assuming you want to change to
the "o" attribute:

 

n  cvs update -ko FILENAME

n  cvs commit -f -m "change keyword options"

 

I know you can do this with the Tortoise GUI using the "command" option,
you can't do the "update -ko" through the normal forms.  I would just
use the command line client though, in this case.

 

Regards,

 

 

Glen Starrett

Technical Account Manager, North America

March Hare Software, LLC

http://march-hare.com/cvspro/ <http://march-hare.com/cvspro/> 

800-653-1501 x803

 

From: Neal Harder [mailto:[email protected]] 
Sent: Friday, March 26, 2010 6:26 PM
To: tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [TortoiseCVS] Change keywords for already added files

 

Janis,

You can edit the archive directly and modify the flags of the last
committed revision.  This is of course not recommended by anyone, but
will quickly and easily get you what you want.  The meta-information for
each revision is listed at the top of the archive file.  Check the
"head" line at the top to see what the head revision is, then scroll
down until you find the meta-information for that revision.  One of the
fields is "kopt" and you'll see the flags next to it, in my case I use
"kvx;".  Change this to what you want and save the archive.

 

There is a command called "admin" that was originally intended to be
able to do this with the "-ksubst" flag, but apparently the makers of
CVSNT decided that changing the k-flags wasn't something they wanted to
support:

 

http://www.cvsnt.org/manual/html/admin.html

 

As far as I know there is no way to change the k-flags after the
origianl "Add" is done, except for the direct edit of the archive as I
mentioned above. I would be delighted if somebody knows better than me!!

 

-Neal

 

	----- Original Message ----- 

	From: Janis <mailto:[email protected]>  

	To: tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 

	Sent: Friday, March 26, 2010 3:08 PM

	Subject: [TortoiseCVS] Change keywords for already added files

	 

	--> 

	Hello!

	Is it possible to change keywords after a file has already been
added. For example, I have added files with the (default) option to
manage keywords normally (-kv), and they already have some update
history by now. However, I want to stop keyword updates, to disable them
(-o) from now on. Is it possible not losing the history, or I can only
remove the file and re-add as a new one with keywords disabled?

	Thank you,
	Janis

	
  _____  


	
------------------------------------------------------------------------
------
	Download Intel&#174; Parallel Studio Eval
	Try the new software tools for yourself. Speed compiling, find
bugs
	proactively, and fine-tune applications for parallel
performance.
	See why Intel Parallel Studio got high marks during beta.
	http://p.sf.net/sfu/intel-sw-dev 

	
  _____  


	_______________________________________________
	tortoisecvs-users mailing list
	tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
	https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users