Sriranjani Srinivasan wrote, On 02/02/2009 01:44 AM:
Hi Amaresh,
Thanks for your response.
But cvs log <filename> only gives the log history of the file,
the details of name, time and checkin comments of each revision.
How can we get the information about deleted lines from this?
example cvs log <filename> output:
revision 1.1.2.6
date: 2007/09/20 16:37:26; author: dennis; state: Exp; lines: +27 -48
note the last bit: lines: +27 -48
which shows that 21 more lines were removed than lines added (at this check in).
If I wanted to know what was removed and added I would then issue:
cvs diff -u -r1.1.2.5 -r1.1.2.6 <filename>
If I only wanted to see what was removed (with out proper context)
cvs diff -u -r1.1.2.5 -r1.1.2.6 <filename> |grep -e "^-"
Thanks and Regards
Sriranjani S
________________________________
From: [email protected] [mailto:[email protected]]
On Behalf Of Amaresh Chandra Das
Sent: Monday, February 02, 2009 12:10 PM
To: '[email protected]'; Sriranjani Srinivasan
Cc: Muzaffar Ahmad Reshi
Subject: Re: Identification of deleted lines information in CVS Annotate
Hi Sriranjani,
Please Check , cvs log <filename>
i think, you will get the solution.
Cheers
Amaresh
[http://f947.mail.yahoo.com/ya/download?mid=1%5f19078%5f39747%5fAIoRaMsAAMjtSUHyLwbLBkAHS1w&pid=2&fid=%2540B%2540Bulk&inline=1]
+91-9886720068
--- On Fri, 30/1/09, Sriranjani Srinivasan
<[email protected]<mailto:[email protected]>> wrote:
From: Sriranjani Srinivasan
<[email protected]<mailto:[email protected]>>
Subject: Identification of deleted lines information in CVS Annotate
To: "'[email protected]<mailto:[email protected]>'"
<[email protected]<mailto:[email protected]>>
Cc: "Muzaffar Ahmad Reshi"
<[email protected]<mailto:[email protected]>>
Date: Friday, 30 January, 2009, 10:42 AM
Hi,
Is there any way to identify the information of deleted lines in a file through
CVS annotate or any other means?
I 'am looking for a feature in CVS similar to the history feature of deleted
lines available in SCCS.
Also, I have used the Web interfaces CVS Web
(http://www.FreeBSD.org/projects/cvsweb.html<http://www.freebsd.org/projects/cvsweb.html>)
and ViewCVS (http://www.viewvc.org/)
For browsing through the source history more easily. Annotate option in these
interfaces also doesn't give me any information of the deleted lines.
Can anyone clarify the usage of annotate and also suggest the way to identify
the history of deleted lines in CVS.
Version of CVS in use:
Concurrent Versions System (CVS) 1.11.18 (client/server)
Thanks,
Sriranjani S
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not
to copy, disclose, or distribute this e-mail or its contents to any other
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has
taken
every reasonable precaution to minimize this risk, but is not liable for any
damage
you may sustain as a result of any virus in this e-mail. You should carry out
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Thanks & Regards,
Hare Krishna.....
मन मेरा मंदिर हरी मेरी पूजा
हरी से बडा नही कोई दूजा
Amaresh Chandra Das
Mobile: 91-9886720068
Mail: [email protected]<mailto:[email protected]>
[email protected]<mailto:[email protected]>
"Walk with a hope in your heart....you will never walk alone"
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter