-if test "$parent" != "HEAD" -a -f $dir/CVS/Tag -a "`cat $dir/CVS/Tag`" != "T$parent"; then
- echo "This script must be run within the $parent branch"
- exit 1
-fi
+#if [ "$parent" != "HEAD" -a -f $dir/CVS/Tag ]; then
+ # put in separate condition as bash evaluates all conditions unlike C
+# if [ "`cat $dir/CVS/Tag`" != "T$parent" ]; then
+# echo "This script must be run within the $parent branch"
+# exit 1
+# fi
+#fi