chiark / gitweb /
cvs-list-tags: List branch tags too.
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Sat, 27 Mar 2004 10:55:35 +0000 (10:55 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Sat, 27 Mar 2004 10:55:35 +0000 (10:55 +0000)
cvs-list-tags

index 74d850761feb95fe4b1120599cecad9ec5013879..a2405e3558a82a7b6a5a0cf935e46ef22858ac1c 100755 (executable)
@@ -2,6 +2,6 @@
 # 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:' | \
+       egrep '\((revision|branch):' | \
        sed 's/[[:space:]]*\([^[:space:]]*\).*/\1/' | \
        sort -u