[Top][All Lists]

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

RE: Listing file versions by tag

From: Jim.Hyslop
Subject: RE: Listing file versions by tag
Date: Thu, 6 Jan 2005 14:33:32 -0500

Andrew DeFaria wrote:
> How do I easily and efficiently list all files with a particular tag? 
> Let's say, for example, that when a set of files are 
> committed a tag is 
> associated with them.

cvs log | grep -E "(RCS file: |particular_tag)" | grep -B1 particular_tag

should do it.

Your subject line says "file versions". If you don't want the revision
number, then add another grep:

| grep -v "RCS file"

Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( )
Columnist, C/C++ Users Journal ( )

reply via email to

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