List all tags within a module in CVS in CLI
Asked Answered
I

2

9

Is it possible to get a list of all generated tags for a given module in CVS?

I can use

cvs status -v FILE

but it shows too much information that I just don't need. I can use some gui utilities that show me only the tag names (Eclipse is one of them), how do they do it? You need to do some "hacks" or are just parameters I'm unaware of?

I would like to know if there's a command that would show me just something like this on terminal:

TAG1
TAG2
TAG3
TAG4
Iconolatry answered 29/6, 2010 at 19:8 Comment(0)
Q
1

There is a script you can copy here:

http://docs.codehaus.org/display/ninja/List+CVS+Tags

Seems a shame this isn't 'core' functionality.

Quirites answered 17/1, 2012 at 15:15 Comment(1)
codehaus is gone... but the page still show's up in the wayback machine: web.archive.org/web/20121116021038/http://docs.codehaus.org/…Goosefoot
U
7

In bash

cvs -q status -R -v | cut -d' ' -f1 | sort -u

or

cvs -q status -v FILE | cut -d' ' -f1 | sort -u

Uniaxial answered 3/7, 2013 at 14:46 Comment(0)
Q
1

There is a script you can copy here:

http://docs.codehaus.org/display/ninja/List+CVS+Tags

Seems a shame this isn't 'core' functionality.

Quirites answered 17/1, 2012 at 15:15 Comment(1)
codehaus is gone... but the page still show's up in the wayback machine: web.archive.org/web/20121116021038/http://docs.codehaus.org/…Goosefoot

© 2022 - 2024 — McMap. All rights reserved.