Discussion:
Identification of deleted lines information in CVS Annotate
Sriranjani Srinivasan
2009-01-30 05:12:04 UTC
Permalink
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***
Amaresh Chandra Das
2009-02-02 06:40:11 UTC
Permalink
Hi *Sriranjani,

Please Check , cvs log <filename>

i think, you will get the solution.
*
Cheers
Amaresh [image: cid:***@01C94FB6.D222FBC0]

+91-9886720068

--- On *Fri, 30/1/09, Sriranjani Srinivasan <***@infosys.com>*wrote:

From: Sriranjani Srinivasan <***@infosys.com>
Subject: Identification of deleted lines information in CVS Annotate
To: "'info-***@nongnu.org'" <info-***@nongnu.org>
Cc: "Muzaffar Ahmad Reshi" <***@infosys.com>
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: ***@gmail.com
***@in.com

"Walk with a hope in your heart....you will never walk alone"
Sriranjani Srinivasan
2009-02-02 06:44:50 UTC
Permalink
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?

Thanks and Regards
Sriranjani S

________________________________
From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Amaresh Chandra Das
Sent: Monday, February 02, 2009 12:10 PM
To: 'info-***@nongnu.org'; 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 <***@infosys.com<mailto:***@infosys.com>> wrote:
From: Sriranjani Srinivasan <***@infosys.com<mailto:***@infosys.com>>
Subject: Identification of deleted lines information in CVS Annotate
To: "'info-***@nongnu.org<mailto:info-***@nongnu.org>'" <info-***@nongnu.org<mailto:info-***@nongnu.org>>
Cc: "Muzaffar Ahmad Reshi" <***@infosys.com<mailto:***@infosys.com>>
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: ***@gmail.com<mailto:***@gmail.com>
***@in.com<mailto:***@in.com>

"Walk with a hope in your heart....you will never walk alone"
Todd Denniston
2009-02-02 16:00:02 UTC
Permalink
Post by Sriranjani Srinivasan
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 "^-"
Post by Sriranjani Srinivasan
Thanks and Regards
Sriranjani S
________________________________
Sent: Monday, February 02, 2009 12:10 PM
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
Subject: Identification of deleted lines information in CVS Annotate
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.
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
"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
Todd Denniston
2009-02-03 14:59:43 UTC
Permalink
Please keep these on the list.
Thanks Todd.
Please correct me in stating that
"CVS annotate cannot do this job by itself
like in SCCS and
we have to rely on the options like
cvs log and cvs diff like in the
examples you have given below".
Amaresh Chandra Das
2009-02-02 07:32:31 UTC
Permalink
Hi Sriranjani,

You deleted from CVS or local server ? if u deleted from both server then
i have to see, else if u deleted from either local server or CVS server
then do *cvs -q up -Pd* <filename> .

else do " *cvs -q up -Pd* -r <Pre_revesion_number> <filename> .

Cheers
Amaresh [image: cid:***@01C94FB6.D222FBC0]

+91-9886720068

--- On *Mon, 2/2/09, Sriranjani Srinivasan <***@infosys.com>*wrote:

From: Sriranjani Srinivasan <***@infosys.com>
Subject: RE: Identification of deleted lines information in CVS Annotate
To: "'Amaresh Chandra Das'" <***@yahoo.co.in>, "'info-***@nongnu.org'"
<info-***@nongnu.org>
Cc: "Muzaffar Ahmad Reshi" <***@infosys.com>
Date: Monday, 2 February, 2009, 12:14 PM

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?



Thanks and Regards

Sriranjani S


------------------------------

*From:* ***@gmail.com [mailto:
***@gmail.com] *On Behalf Of *Amaresh Chandra Das
*Sent:* Monday, February 02, 2009 12:10 PM
*To:* 'info-***@nongnu.org'; 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 [image: cid:***@01C94FB6.D222FBC0]

+91-9886720068

--- On *Fri, 30/1/09, Sriranjani Srinivasan <***@infosys.com>*wrote:

From: Sriranjani Srinivasan <***@infosys.com>
Subject: Identification of deleted lines information in CVS Annotate
To: "'info-***@nongnu.org'" <info-***@nongnu.org>
Cc: "Muzaffar Ahmad Reshi" <***@infosys.com>
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/* <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: ****@gmail.com* <***@gmail.com>
****@in.com* <***@in.com>

"Walk with a hope in your heart....you will never walk alone"



Thanks & Regards,

Hare Krishna.....
à€®à€š à€®à¥‡à€°à€Ÿ à€®à€‚à€Šà€¿à€° à€¹à€°à¥€ à€®à¥‡à€°à¥€ à€ªà¥‚à€œà€Ÿ
à€¹à€°à¥€ à€žà¥‡ à€¬à€¡à€Ÿ à€šà€¹à¥€ à€•à¥‹à€ˆ à€Šà¥‚à€œà€Ÿ

Amaresh Chandra Das
Mobile: 91-9886720068
Mail: ***@gmail.com
***@in.com

"Walk with a hope in your heart....you will never walk alone"
Amaresh Chandra Das
2009-02-04 05:24:59 UTC
Permalink
Hi Todd and Sriranjani,

You deleted from CVS or local server ?
If u deleted from both server then i have to see,
else if u deleted from either local server or CVS
server then do *"cvs -q up -Pd <filename>" *
else do * " cvs -q up -Pd -r
<Previous_rev_no> <filename>" .*

Check bellow link,

"
http://www.scmgalaxy.com/index.php?option=com_content&view=article&id=102:how-cvs-will-help-to-realtime-developers-&catid=42:cvs-commandline&Itemid=67<https://webmail.vecima.com/exchweb/bin/redir.asp?URL=http://www.scmgalaxy.com/index.php?option=com_content%26view=article%26id=102:how-cvs-will-help-to-realtime-developers-%26catid=42:cvs-commandline%26Itemid=67>
"

Cheers
Amaresh [image: cid:***@01C94FB6.D222FBC0]

+91-9886720068

--- On *Tue, 3/2/09, Todd Denniston <***@ssa.crane.navy.mil>*wrote:

From: Todd Denniston <***@ssa.crane.navy.mil>
Subject: Re: Identification of deleted lines information in CVS Annotate
To: "Sriranjani Srinivasan" <***@infosys.com>
Cc: "cvs" <info-***@nongnu.org>
Date: Tuesday, 3 February, 2009, 8:29 PM

Please keep these on the list.
Thanks Todd.
Please correct me in stating that "CVS annotate cannot do this job by
itself like in SCCS and we have to rely on the options like cvs log and cvs diff
Loading...