Fossil SCM
Detect properly that [ff59f202fe] is an invalid Control artifact.
Commit
13161f39aa105b97db999160cbef1d2a572fefeb
Parent
4e092e0f15a6da8…
1 file changed
+3
+3
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -924,10 +924,13 @@ | ||
| 924 | 924 | if( p->zWikiTitle ) SYNTAX("L-card on tag"); |
| 925 | 925 | if( p->zTicketUuid ) SYNTAX("K-card in tag"); |
| 926 | 926 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 927 | 927 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 928 | 928 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 929 | + for(i=0; i<p->nTag; i++){ | |
| 930 | + if( p->aTag[i].zUuid==0 ) SYNTAX("self-referential T-card in tag"); | |
| 931 | + } | |
| 929 | 932 | p->type = CFTYPE_CONTROL; |
| 930 | 933 | }else if( p->zAttachName ){ |
| 931 | 934 | if( p->nCChild>0 ) SYNTAX("M-card in attachment"); |
| 932 | 935 | if( p->rDate<=0.0 ) SYNTAX("missing date in attachment"); |
| 933 | 936 | if( p->zTicketUuid ) SYNTAX("K-card in attachment"); |
| 934 | 937 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -924,10 +924,13 @@ | |
| 924 | if( p->zWikiTitle ) SYNTAX("L-card on tag"); |
| 925 | if( p->zTicketUuid ) SYNTAX("K-card in tag"); |
| 926 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 927 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 928 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 929 | p->type = CFTYPE_CONTROL; |
| 930 | }else if( p->zAttachName ){ |
| 931 | if( p->nCChild>0 ) SYNTAX("M-card in attachment"); |
| 932 | if( p->rDate<=0.0 ) SYNTAX("missing date in attachment"); |
| 933 | if( p->zTicketUuid ) SYNTAX("K-card in attachment"); |
| 934 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -924,10 +924,13 @@ | |
| 924 | if( p->zWikiTitle ) SYNTAX("L-card on tag"); |
| 925 | if( p->zTicketUuid ) SYNTAX("K-card in tag"); |
| 926 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 927 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 928 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 929 | for(i=0; i<p->nTag; i++){ |
| 930 | if( p->aTag[i].zUuid==0 ) SYNTAX("self-referential T-card in tag"); |
| 931 | } |
| 932 | p->type = CFTYPE_CONTROL; |
| 933 | }else if( p->zAttachName ){ |
| 934 | if( p->nCChild>0 ) SYNTAX("M-card in attachment"); |
| 935 | if( p->rDate<=0.0 ) SYNTAX("missing date in attachment"); |
| 936 | if( p->zTicketUuid ) SYNTAX("K-card in attachment"); |
| 937 |