Regards,
Sriranjani S
-----Original Message-----
From: Todd Denniston [mailto:address@hidden
Sent: Monday, February 02, 2009 9:30 PM
To: Sriranjani Srinivasan
Cc: 'address@hidden'
Subject: Re: Identification of deleted lines information in CVS Annotate
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: address@hidden [mailto:address@hidden On Behalf Of Amaresh Chandra Das
Sent: Monday, February 02, 2009 12:10 PM
To: 'address@hidden'; 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
<address@hidden<mailto:address@hidden>> wrote:
From: Sriranjani Srinivasan <address@hidden<mailto:address@hidden>>
Subject: Identification of deleted lines information in CVS Annotate
To: "'address@hidden<mailto:address@hidden>'"
<address@hidden<mailto:address@hidden>>
Cc: "Muzaffar Ahmad Reshi" <address@hidden<mailto:address@hidden>>
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