info-cvs
[Top][All Lists]
Advanced

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

RE: Script to show commiters to branch?


From: Andy Baker
Subject: RE: Script to show commiters to branch?
Date: Mon, 25 Jun 2001 18:10:06 +0100

Something along the lines of the quick'n'dirty below should get you started
(beware of files that don't contain the branch though)

cvs -Q rlog -rbranch file 2>/dev/null \
 | awk '/^RCS file: / {file=$3}
        /^revision [0-9][0-9]*\./ {rev=$2}
        /^date: .* author:/ {auth=substr($5,1,length($5)-1);printf("%s %s
%s\n",file,rev,auth)}'

Andy


-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: 25 June 2001 17:24
To: address@hidden
Subject: Script to show commiters to branch?


I need to write a script that produces a list of everyone that has 
commited to a branch (or the trunk) for a specific file. Before I and 
write it, I thought I would check if anyone on the list already has 
something like this laying around. Any help is much appreciated. Thanks

Chuck



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




reply via email to

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