Xref: utzoo comp.sources.bugs:2770 comp.sources.d:6246 Path: utzoo!utgpu!watserv1!watmath!att!bu.edu!rpi!julius.cs.uiuc.edu!wuarchive!uunet!pdn!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.sources.bugs,comp.sources.d Subject: Tiny, but useful, patch for RCS 4.3 Message-ID: <27822F70.E5A@tct.uucp> Date: 2 Jan 91 19:07:28 GMT Followup-To: comp.sources.d Organization: Teltronics/TCT, Sarasota, FL Lines: 22 With the default RCS behavior, it is often difficult to perform mass changes on the current revision of many files simultaneously. This one-line patch makes the string "HEAD" always refer to the head of the revision history, i.e. the current revision. Index: rcsrev.c *************** *** 575,578 **** --- 575,579 ---- { register struct assoc * next; + if (strcmp(id,"HEAD") == 0 && Head) return Head->num; next = Symbols; while (next!=nil) { I told you it was tiny. :-) -- Chip Salzenberg at Teltronics/TCT , "Please don't send me any more of yer scandalous email, Mr. Salzenberg..." -- Bruce Becker