[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs update $Name: $ expansion
From: |
kai . hendry |
Subject: |
cvs update $Name: $ expansion |
Date: |
22 Jun 2005 19:37:26 -0700 |
User-agent: |
G2/0.2 |
I can't get $Name: $ to expand on an update in my script below.
It works when checking out. But, do I really have to do a checkout?
Because a clean checkout every night would be expensive over a crappy
connection.
debian$ cat test.sh
DATE=`date +%s`
TAG=test_$DATE
MODULE='t'
echo Tagging module: $MODULE with tag: $TAG
# Snapshot the module in the repo
cvs rtag $TAG $MODULE
# Updating to that snapshot
cvs update -r $TAG
tag="$Name: $"
echo $tag |sed 's/^.*: //;s/ .*$//'