cosell@BBN-LABS-B.ARPA (Bernie Cosell) (09/21/85)
Perhaps someone could give me some help: I'm trying to used the 'named revision' stuff in RCS to make an `epoch' for the release set for this program we're working on. What I tried first was: rcs -nREL1.5 *.c but I discovered that that doesn't work at all: it tries to DELETE the name (and, of course, it can't find any such, so it mostly does nothing at all). The "-nNAME:REV" is no help at all since the files are all at different revisions. What I really need is a command that says: "Here's a name, please stamp the CURRENT revision of all of these-here files with this name" There must be a trick or a switch or something that I'm missing... Much thanks /Bernie
olson@fortune.UUCP (Dave Olson) (09/26/85)
Unfortunately, as distributed, there is NO way to assign a symbolic name to the 'current' rev level of an arbitrary set of files. I saw this as a major lack when dealing with major software releases. I implemented a new option -Ssymbolic_name to do this. The modifications are relatively minor (if, of course, you have source :-) ). If you would like the mods, send me mail. If enough people want them, I'll post them to net.sources. Dave Olson, Fortune Systems UUCP: {ihnp4,ucbvax!dual}!fortune!olson ARPA: dual!fortune!olson@BERKELEY
olson@fortune.UUCP (Dave Olson) (10/03/85)
>I implemented a new option -Ssymbolic_name to do this. >The modifications are relatively minor (if, of course, you have >source :-) ). If you would like the mods, send me mail. If enough >people want them, I'll post them to net.sources. OK, so far I've gotten 16 requests for the modifications. I'll post them to net.sources within the next few days. (I'll try to acknowledge all the individual requests, but I may miss a few.) Dave Olson
willcox@ccvaxa.UUCP (10/03/85)
I wanted to do the same thing a few weeks ago, so I cobbled together the following shell script. It's something of a kludge, but is definitely in the UNIX spirit ("use existing tools to make new ones"). I'm sure someone will want to add lots of new features to it, but it served my purpose as is: #!/bin/csh -f set name=$1 shift echo "Setting symbolic name to $name" foreach i ($*) echo $i"": set head=`rlog -h $i | sed -n -e "s/head: *//p"` if ($head != "") then rcs -N$name:$head -sRel:$head $i end --------------------------------- David A. Willcox Gould CSD-Urbana 1101 E. University Ave. Urbana, IL 61801 217-384-8500 {decvax!pur-ee,ihnp4}!uiucdcs!ccvaxa!willcox