info-cvs
[Top][All Lists]
Advanced

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

Re: Show contents with certain tag


From: Mark D. Baushke
Subject: Re: Show contents with certain tag
Date: Fri, 27 Jan 2006 09:44:57 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden writes:

> My quest seems easy enough, but for some reason
> I cannot get the results I need.
> 
> I am trying to get a listng of files in my
> repository with a certain tag.
> 
> For exapmle, I have a tag called AAAb. I want to
> get a listing of all pieces in the repositry
> that have a tag of AAAb.
> 
> The command I tried was:
> cvs history -T AAAb
> 
> This returns history of modules with any tag.
> 
> How do I get a listing that shows the contents
> of the repository that are tagged a certain way?

Use this command:

  cvs rlog -R -rAAb -S modulename

If you don't want the "warning: no branch `AAb' in
/path/to/file,v" lines, then use the -Q option

  cvs -Q rlog -R -rAAb -S modulename

to suppress them.

Of course, this is a list of RCS files in the
repository, so you will need to remove the
trailing ',v' from the names as well as the
pathname prefix for the $CVSROOT, but that should
get you fairly close.

> 
> Thanks.
> 
> P.S. I searched the archives and could not find the answer, but may
> have missed it in my frustration...

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFD2lwZCg7APGsDnFERAs4VAJ9xAgwE96cbKZjBTv/DEeCTbVH3IQCfblp2
GmgHtX7PEGZ3B7d7TwE4jyE=
=9h2k
-----END PGP SIGNATURE-----




reply via email to

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