From: Colin Watson Date: Wed, 13 Nov 2002 11:38:55 +0000 (+0000) Subject: cvs-list-tags: New script to (try to) list all tags in a CVS repository. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=1328a508296d5a8756f0ea66765f659babadb67a cvs-list-tags: New script to (try to) list all tags in a CVS repository. --- diff --git a/cvs-list-tags b/cvs-list-tags new file mode 100755 index 0000000..74d8507 --- /dev/null +++ b/cvs-list-tags @@ -0,0 +1,7 @@ +#! /bin/sh +# List all the tags available for all files in a CVS working copy. +# This is an ugly hack. It should more or less work, though. +cvs status -vR 2>/dev/null | \ + grep '(revision:' | \ + sed 's/[[:space:]]*\([^[:space:]]*\).*/\1/' | \ + sort -u