info-cvs
[Top][All Lists]
Advanced

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

Re: List files of a Tag


From: Todd Denniston
Subject: Re: List files of a Tag
Date: Mon, 09 Dec 2002 14:34:11 -0500

> "Brusset, Mathieu" wrote:
> 
> Hi folks,
> 
> I'm currently a CVS administrator.
> Configuration: Win NT server + WinCVS1.2 + CVSNT 1.1.11.3
> 
> I'm looking for different admin stuff :
> 
> 1. How to get the list of files from a TAG ?
on unix try:
cvs -n checkout -rTAG -p module 2>&1 1>/dev/null|grep "Checking out" |awk
'{print $3}'

 BTW order matters with the '2>&1 1>', and I have done the above with tags I
know are only applied to portions of my baseline and yes it only returns file
names that have the tag.

on NT first suggestion:
install cygwin and do unix method.
on NT second suggestion:*
reboot to unix & do unix method.
on NT third suggestion:
you might be able to use MS "find" instead of grep but good luck on redirecting
stderr and stdout.

> 2. How to get a list of tag from a project ?
on unix:
  a) if all tags have been used in some kind of command after cvs tag:
      more $CVSROOT/CVSROOT/val-tags 
  b) if you are not sure (a) is true:
    cvs log -t |grep -v -e "^[[:alnum:]]" -e "====" \
       |awk -F: '{print $1}'|sort |uniq
On NT:
a) hope all tags have been used after they were applied and:
more $CVSROOT/CVSROOT/val-tags 

b) install cygwin/unix and:*
    cvs log -t |grep -v -e "^[[:alnum:]]" -e "====" \
       |awk -F: '{print $1}'|sort |uniq

> 
> Kind Regards,
> 
> Mathieu

*someone being less annoying than me MAY know of a way to do similar things
with the NT and windows clients, or other unix toolkits for MS.

-- 
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
        -- Vance Petree, Virginia Power



reply via email to

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