Lines Matching defs:num

527 	newdelta.num = newdelnum.string;
562 targetdelta->num
571 if (addsymbol(newdelta.num, prevname.string, false) < 0)
573 if (!addsyms(newdelta.num))
588 diagnose("initial revision: %s\n", newdelta.num);
611 targetdelta->num
648 targetdelta->num, (char*)0, (char*)0, (char*)0,
657 if (!addsyms(workdelta->num))
681 newdelta.num, targetdelta->num
866 int newdnumlength; /* actual length of new rev. num. */
899 if (!genrevs(targetdelta->num,(char*)0,(char*)0,(char*)0,&gendeltas))
905 } else if (!targetdelta->next && countnumflds(targetdelta->num)>2) {
914 incnum(targetdelta->num, &newdelnum);
927 incnum(Head->num, &newdelnum);
937 if (cmpnumfld(newdelnum.string,Head->num,1)==0)
938 incnum(Head->num, &newdelnum);
942 if (cmpnum(newdelnum.string,Head->num) <= 0) {
944 newdelnum.string, Head->num
950 if (!genrevs(Head->num,(char*)0,(char*)0,(char*)0,&gendeltas))
966 if (cmpnum(targetdelta->num, newdelnum.string) != 0) {
978 addbranch(branchpoint, num, removedlock)
980 struct buf *num;
983 * If num is the null string, appends the new branch, incrementing
986 * the new number is placed into num.
997 numlength = countnumflds(num->string);
1003 bufscpy(num, branchpoint->num);
1004 bufscat(num, ".1.1");
1006 bufscat(num, ".1");
1015 getbranchno(bhead->hsh->num, &branchnum);
1016 incnum(branchnum.string, num);
1018 bufscat(num, ".1");
1025 while (0 < (result=cmpnumfld(num->string,(*btrail)->hsh->num,field))) {
1036 if (numlength&1) bufscat(num, ".1");
1040 getbranchno(num->string, &branchnum);
1048 if (cmpnum(num->string,targetdelta->num) <= 0) {
1050 num->string, targetdelta->num
1058 incnum(targetdelta->num,num);
1075 addsyms(num)
1076 char const *num;
1081 if (addsymbol(num, p->ssymbol, p->override) < 0)
1134 char const *num;
1136 num=delta->num;
1145 rcserror("revision %s locked by %s", num, next->login);
1150 rcserror("no lock set by %s for revision %s", getcaller(), num);