Re: Using log to list files of a tag

2005-06-21 Thread Larry Jones
Aaron Jackson writes:
 
 I'm trying to use rlog to get the history of a group of files included in 
 one tag. I want to be able to see all of the other tags that this file is 
 assigned to as well. Using the output below as an example, lets say I'm 
 looking for a_project_2 in the log. The output should be as below with all 
 files belonging to the tag a_project_2. Right now when I run the log I get 
 all files including those that do not belong to a_project_2. I've been 
 browsing the man pages and the syntax I understood was as in the command 
 below.
 
 command:
cvs log -ra_project_2 a.project

-r only specifies what revision messages to print, it does not affect
what headers are printed.  You need to add the -S flag to suppress the
headers of files with no revisions selected.

-Larry Jones

Your bangs do a good job of covering up the lobotomy stitches. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Using log to list files of a tag

2005-06-14 Thread Aaron Jackson
I'm trying to use rlog to get the history of a group of files included in 
one tag. I want to be able to see all of the other tags that this file is 
assigned to as well. Using the output below as an example, lets say I'm 
looking for a_project_2 in the log. The output should be as below with all 
files belonging to the tag a_project_2. Right now when I run the log I get 
all files including those that do not belong to a_project_2. I've been 
browsing the man pages and the syntax I understood was as in the command 
below.


command:
  cvs log -ra_project_2 a.project


===BEGIN OUTPUT

RCS file: /cvs/a.project/the.project/file1,v
Working file: the.project/file2
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
a_project_2: 1.1.1.1
a_project_1: 1.1.1.1
arelease: 1.1.1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:

revision 1.1
date: 2005/06/08 13:43:04;  author: yolan;  state: Exp;
branches:  1.1.1;
Initial revision

revision 1.1.1.1
date: 2005/06/08 13:43:04;  author: yolan;  state: Exp;  lines: +0 -0
no message
=

RCS file: /cvs/a.project/the.project/file2,v
Working file: the.project/file2
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
a_project_2: 1.1.1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:

revision 1.1
date: 2005/06/08 13:43:04;  author: yolan;  state: Exp;
branches:  1.1.1;
Initial revision

revision 1.1.1.1
date: 2005/06/08 13:43:04;  author: yolan;  state: Exp;  lines: +0 -0
no message
=


Thanks,
Yolan


*
* Yolan (Aaron Jackson) [EMAIL PROTECTED] *
*   http://mlug.missouri.edu/~yolan/*
*AIM: YolanLINUX, YolanOTHER, YolanLAPTOP   *
* ICQ: 74624109 *
*
*  Doubling Technologies *
**


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: List files of a Tag

2002-12-10 Thread Mike Ayers
Fabian Cenedese wrote:


There are Win32 ports of almost all Unix tools, so you should be able to do
the Unix method quite well on Windows too. Maybe without the special
redirecting stuff.


	Better still, write a script in one of the better free scripting 
languages - Perl, Ruby, Tcl, Python - take your pick.  These languages 
usually include OS transparent file handling utilities that will 
permit you to write portable scripts.  They are also *much* easier to 
learn, use, and keep fresh on than shell tools.

	You should not shell script with Cygwin unless you are familiar with 
both shell scripting and the line ending problem, as you will need to 
be aware of your line endings at all times.


/|/|ike




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


List files of a Tag

2002-12-09 Thread Brusset, Mathieu
Title: List files of a Tag






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 ?
2. How to get a list of tag from a project ?


Kind Regards,


Mathieu



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: List files of a Tag

2002-12-09 Thread douggorley
Dunno about the first one, but your second question is covered at

http://cvsbook.red-bean.com/cvsbook.html#How_can_I_get_a_list_of_all_tags_in_a_project_

Doug Gorley | [EMAIL PROTECTED]

content-type: multipart/alternative;
boundary=_=_NextPart_001_01C29F9F.A0435960


--_=_NextPart_001_01C29F9F.A0435960
Content-Type: text/plain;
charset=iso-8859-1


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 ?
2. How to get a list of tag from a project ?

Kind Regards,

Mathieu

--_=_NextPart_001_01C29F9F.A0435960
Content-Type: text/html;
charset=iso-8859-1

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN
HTML
HEAD
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=iso-8859-1
META NAME=Generator CONTENT=MS Exchange Server version 5.5.2653.12
TITLEList files of a Tag/TITLE
/HEAD
BODY
BR

PFONT SIZE=2 FACE=ArialHi folks,/FONT
/P

PFONT SIZE=2 FACE=ArialI'm currently a CVS administrator./FONT
BRFONT SIZE=2 FACE=ArialConfiguration: Win NT server + WinCVS1.2 + CVSNT 
1.1.11.3/FONT
/P

PFONT SIZE=2 FACE=ArialI'm looking for different admin stuff :/FONT
/P

PFONT SIZE=2 FACE=Arial1. How to get the list of files from a TAG ?/FONT
BRFONT SIZE=2 FACE=Arial2. How to get a list of tag from a project ?/FONT
/P

PFONT SIZE=2 FACE=ArialKind Regards,/FONT
/P

PFONT SIZE=2 FACE=ArialMathieu/FONT
/P

/BODY
/HTML
--_=_NextPart_001_01C29F9F.A0435960--

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: List files of a Tag

2002-12-09 Thread Todd Denniston
 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 21 1/dev/null|grep Checking out |awk
'{print $3}'

 BTW order matters with the '21 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


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: List files of a Tag

2002-12-09 Thread Fabian Cenedese


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.
*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.

There are Win32 ports of almost all Unix tools, so you should be able to do
the Unix method quite well on Windows too. Maybe without the special
redirecting stuff.

bye   Fabi





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs