info-cvs
[Top][All Lists]
Advanced

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

RE: taginfo file


From: Weber, Mathias-Henry 1254 PPW-P1
Subject: RE: taginfo file
Date: Fri, 20 Jul 2001 11:07:14 +0200

I am more a perl programmer than a shell programmer but if it is possible
for perl to report all files and their respective revisions a shell script
should be able to do the same.

I assume that all parameters are passed to the filter script but there are
not more than 9 digits to reference them. Try to use the "shift" command to
succesively access all the parameters in your filter script.

Mathias

> -----Original Message-----
> From: Edouard Cugni [mailto:address@hidden
> Sent: Friday, 20. July 2001 08:37
> To: address@hidden
> Cc: address@hidden
> Subject: Re: taginfo file
> 
> 
> Hi,
> 
> > 
> > Now, the taginfo file only gets 10 command line arguments, 
> $0 thru $9.  The
> > first file tagged would be $4 and its rev $5.  This means 
> that I only get
> > the first 3 files and their rev. numbers.
> > 
> > I need all file names and rev. numbers.  Is there a way?
> > 
> 
> I have modified the log.pl script (I think a common script used by
> CVS users, and referenced by the book of Karl Vogel) to change it in a
> lotag.pl.
> 
> So, with this script, I get all the files and their revision 
> numbers, to 
> generate a log message like this one:
> 
> -----------
> 
> Date       :  Tuesday July 10, 2001 @ 14:10
> Author     :  edouard
> 
> Tag        :  tag_branch_name_test_2
> Operation  :  add
> Repository :  /home/fs05_h1/special/inicore/cvs/ipcvs/SCI/circuit
> 
> iniSCI.vhd            :       1.5
> iniSCI_1p.vhd         :       1.3
> iniSCI_2p.vhd         :       1.2
> iniSCI_3p.vhd         :       1.8
> iniSCI_4_1p.vhd               :       1.2
> iniSCI_4_2p.vhd               :       1.1.1.1
> iniSCI_4_3p.vhd               :       1.4
> iniSCI_4_4p.vhd               :       1.3
> iniSCI_4p.vhd         :       1.4
> iniSCI_5p.vhd         :       1.3
> iniSCI_typedef.vhd            :       1.1.1.1
> iniSCIs.vhd           :       1.2
> iniSCIs_1p.vhd                :       1.2
> iniSCIs_2_1p.vhd              :       1.2
> iniSCIs_2_2p.vhd              :       1.2
> iniSCIs_2p.vhd                :       1.3
> iniSCIs_3p.vhd                :       1.2
> iniSCIs_4p.vhd                :       1.2
> iniSCIs_5p.vhd                :       1.2
> 
> --------
> 
> And so getting with perl more than 10 arguments from the command line.
> If someone want my script, I will be pleased to send it (as I 
> don't think that
> attachement to a list is good feature).
> 
> This script now send to a log file and to as many mail 
> address you want, this
> log message when a tag is done. Actually, the script generate 
> one log message
> per sub-directory of your tagge module. The next step I would 
> include in this
> script, is that it send only one mail per module (grouping 
> all directories
> and their files).
> 
> 
>  Edouard Cugni
>  address@hidden
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 



reply via email to

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