2010-05-16 Bruno Haible * rcssyn.c (K_commitid): New constant. (getdelta): Read and ignore a 'commitid' line, if present. *** rcs-5.7/src/rcssyn.c.bak 1995-06-16 08:19:24.000000000 +0200 --- rcs-5.7/src/rcssyn.c 2010-05-16 02:45:43.000000000 +0200 *************** *** 187,193 **** #if COMPAT2 Ksuffix[] = "suffix", #endif ! K_branches[]= "branches"; static struct buf Commleader; struct cbuf Comment; --- 187,194 ---- #if COMPAT2 Ksuffix[] = "suffix", #endif ! K_branches[]= "branches", ! K_commitid[]= "commitid"; static struct buf Commleader; struct cbuf Comment; *************** *** 430,435 **** --- 431,442 ---- getkey(Knext); Delta->next = num = getdnum(); getsemi(Knext); + + if (getkeyopt(K_commitid)) { + getid(); + getsemi(K_commitid); + } + Delta->lockedby = 0; Delta->log.string = 0; Delta->selector = true;