friesen@psivax.UUCP (Stanley Friesen) (02/14/85)
The distributed version of "sccstorcs" bombs on sccs files with rmdel'd revisions, the following simple modification will take care of *most* such cases. ------------------------------CUT HERE-------------------------------- *** sccstorcs.c.old Thu Feb 14 11:16:28 1985 --- sccstorcs.c Thu Feb 14 11:15:42 1985 *************** *** 283,288 for (; delta; delta = delta -> next) { /* * Get the SCCS file. */ sprintf (command, "%s -p -r%s %s > %s", --- 283,296 ----- for (; delta; delta = delta -> next) { /* + * Code to handle (some) rmdel situations + * If a series of "deltas" in the sccs file have the same revision + * take ONLY the last one + */ + while(delta->next && !strcmp(delta->next->revision, delta->revision)) + delta = delta->next; + + /* * Get the SCCS file. */ sprintf (command, "%s -p -r%s %s > %s", -- Sarima (Stanley Friesen) {trwrb|allegra|cbosgd|hplabs|ihnp4|aero!uscvax!akgua}!sdcrdcf!psivax!friesen or quad1!psivax!friesen