[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

debian$ cat
DATE=`date +%s`

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/ .*$//'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]