Tiny, but useful, patch for RCS 4.3
Chip Salzenberg
chip at tct.uucp
Thu Jan 3 06:07:28 AEST 1991
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 <chip at tct.uucp>, <uunet!pdn!tct!chip>
"Please don't send me any more of yer scandalous email, Mr. Salzenberg..."
-- Bruce Becker
More information about the Comp.sources.bugs
mailing list