[Top][All Lists]

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

Re: Help Regarding loginfo file

From: victor vinod kumar
Subject: Re: Help Regarding loginfo file
Date: Thu, 2 Jun 2005 08:15:48 +0300

Hi Vasu,

Its very simple , Open the loginfo file and look for

DEFAULT (echo %{svV};id;date; cat ) > $CVSROOT/CVSROOT/commitlog

1) DEFAULT is the Keyword
2) s is Name of the File
3) v is new version number (post-checkin)
4) V is old version number (pre-checkin)
5) id is user or author id (example user1,user1 etc..,)
6) date and time when the commit took place message was created
cat is  write these information into a file called commitlog

what i suggest is : - modify the logfile by specifying these statements

DEFAULT (echo %{svV};id;date; cat ) > $CVSROOT/CVSROOT/commitlog | sh $CVSROOT/CVSROOT/commitlog

that;s it

But you need to create a shell script with any name , in my case it is and these are the contents of that script

Syntax: -   mail -s "<Mail Subject >" mailid < name of the file attachment

Example : - mail -s  "Email notification when checked in "  address@hidden  < $CVSROOT/CVSROOT/commitlog commitlog

thats it.
happy checkin`

Victor Vinod Kumar
Email Id :address@hidden
Hyderabad - India

Help Regarding loginfo file
Hello ALL,

          My Name is Vasudev, i am very new to CVS. Please help me
regarding loginfo file.

My CVS is installed on Solaris 5.8 Machine. 

Requirement :- 
I need to get an notification email whenever any developer checkin the
source file( any file or directory )  into the CVS repository.

Please let me know the format of loginfo file. Where this file needs
to be stored, what all the options available. Meaning of each option.

It will be very nice if you can provide me one example for this.

Please help me on this.

Thanks & Regards,

Info-cvs mailing list

Walla! Mail - get your free 1G mail today

reply via email to

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