info-cvs
[Top][All Lists]
Advanced

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

RE: cvs tag: some slightly counterintuitive behaviour


From: Jim.Hyslop
Subject: RE: cvs tag: some slightly counterintuitive behaviour
Date: Fri, 26 Mar 2004 10:07:31 -0500

Andy Jones wrote:
> Because I have 12,766 files, and I want to tag all but about 
> 30 of them.  Working out which 30 is a long and laborious 
> process of checking by hand. 
cvs -nq update

should show you a list of files that need to be updated. If you are
following good VM practises, the only files indicated with a 'U' should be
the ones you've locally deleted but have not committed. So, something like
this should give you a workable script:

cvs -nq up | sed 's/U/cvs tag -d tagname /' > thescript
./thescript

On a different note: IIRC you mentioned earlier that these deleted files are
not part of the release, but you don't want to remove them from the
repository. What harm would there be if those files actually had the tag
applied?

> As I said, it's not really a big deal, just a small surprise. 
I know, but I think we're exploring various avenues and options. Frequently,
when one complains about a particular problem, that problem can be resolved
by changing one's practises.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. (http://www.leitch.com)
Columnist, C/C++ Users Journal (http://www.cuj.com/experts)






reply via email to

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