From bd9e6617827818fd043452c08c606f07b78014a0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- scripts/cvsgettags | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 scripts/cvsgettags (limited to 'scripts/cvsgettags') diff --git a/scripts/cvsgettags b/scripts/cvsgettags new file mode 100755 index 00000000..9869eb06 --- /dev/null +++ b/scripts/cvsgettags @@ -0,0 +1,38 @@ +#!/bin/sh +# +# copyright (C) 2004 Roberto Teixeira +# +# This script is release under the GPL +# + +# +# This very simple script can be used to fetch available +# cvs tags for a group of files. +# +# Its usage is simple, simply type something like +# +# gettags myfile.cpp myfile.h +# +# to get the available cvs tags for myfile.cpp and myfile.h +# otherwise simply type +# +# gettags +# +# to fetch all available tags in the current directory and its +# subdirectories. +# + +usage() +{ + echo "Ex.:" + echo " $0 [file1] [file2] ..." +} + +if test -z "$1"; then + echo "Will test tags for all files and subdirectories under `pwd`. Hope it's right" + echo "but if it is not, please inform the files you want to fetch the tags from." + + usage +fi + +cvs log $@|tr "\n" "å"|sed 's/^.*symbolic names:å\(.*\)keyword subst.*$/\1/'|tr "å" "\n" -- cgit v1.2.1