[Top][All Lists]

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

Re: Identification of deleted lines information in CVS Annotate

From: Todd Denniston
Subject: Re: Identification of deleted lines information in CVS Annotate
Date: Mon, 02 Feb 2009 11:00:02 -0500
User-agent: Thunderbird (X11/20081209)

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:
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.


--- 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>'" 
Cc: "Muzaffar Ahmad Reshi" <address@hidden<mailto:address@hidden>>
Date: Friday, 30 January, 2009, 10:42 AM


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 
 and ViewCVS (
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)

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 

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 

every reasonable precaution to minimize this risk, but is not liable for any 

you may sustain as a result of any virus in this e-mail. You should carry out 

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 

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: address@hidden<mailto:address@hidden>

"Walk with a hope in your will never   walk alone"

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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