Discussion:
CVS Report by tag
Ziggy
2009-11-06 16:52:33 UTC
Permalink
Hi Guys,

I am tearing my head out over this one.

What i am trying to do is i want to create a report from CVS using a
specific tag. I have managed to do it using the following command.

cvs log -S rMyTag

The above command does work but the problem is it gives me more information
than what i need. I would like to be able to issue a command on the root
folder and just get the following information

- Rcs file
- The revision

So for example if i issue the command cvs log -S rMyTag it should show
something like this

Rcs file :
'/u03/cvsroot/ccs21/src/gui/WebContent/pages/consignment/listConsignmentsToDeclare
Revision : 1.19

The 1.19 should be the revision on the tag not the latest revision.

Is this at all possible on CVS??

Thanks
Larry Jones
2009-11-06 18:49:41 UTC
Permalink
Post by Ziggy
So for example if i issue the command cvs log -S rMyTag it should show
something like this
'/u03/cvsroot/ccs21/src/gui/WebContent/pages/consignment/listConsignmentsToDeclare
Revision : 1.19
The 1.19 should be the revision on the tag not the latest revision.
Is this at all possible on CVS??
Not directly, but perhaps indirectly:

cvs log -S -rMyTag | egrep '^RCS file|^revision'
--
Larry Jones

TIME?! I just finished the first problem! -- Calvin
Cumps, Erik
2009-11-13 10:44:01 UTC
Permalink
Sorry to jump in so late.

You might consider lstag described in
http://www.mail-archive.com/info-***@nongnu.org/msg06735.html

Erik

-----Original Message-----
From: info-cvs-bounces+erik.cumps=***@nongnu.org
[mailto:info-cvs-bounces+erik.cumps=***@nongnu.org] On Behalf Of
Ziggy
Sent: Friday, November 06, 2009 5:53 PM
To: info-***@nongnu.org
Subject: CVS Report by tag

Hi Guys,

I am tearing my head out over this one.

What i am trying to do is i want to create a report from CVS using a
specific tag. I have managed to do it using the following command.

cvs log -S rMyTag

The above command does work but the problem is it gives me more
information
than what i need. I would like to be able to issue a command on the root
folder and just get the following information

- Rcs file
- The revision

So for example if i issue the command cvs log -S rMyTag it should show
something like this

Rcs file :
'/u03/cvsroot/ccs21/src/gui/WebContent/pages/consignment/listConsignment
sToDeclare
Revision : 1.19

The 1.19 should be the revision on the tag not the latest revision.

Is this at all possible on CVS??

Thanks

Loading...