Fossil

Check-in [f2ae58e3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Allow multiple T-cards with the same tags, provided they are for different uuid's which are in strict increasing order.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | merge-integrate
Files: files | file ages | folders
SHA1:f2ae58e393379007d4a8f1aee848570021bd7de8
User & Date: jan.nijtmans 2013-08-16 13:45:30
Context
2013-08-16
14:36
update documentation Closed-Leaf check-in: d10eee3a user: jan.nijtmans tags: merge-integrate
13:45
Allow multiple T-cards with the same tags, provided they are for different uuid's which are in strict increasing order. check-in: f2ae58e3 user: jan.nijtmans tags: merge-integrate
10:07
If a Control artifact contains a C-card, don't ignore it any more but display it in the timeline. Demo: [deb18ab6e3cdde20]. A "fossil rebuild" is needed to make this visible. check-in: 9aca5f79 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/manifest.c.

767
768
769
770
771
772
773
774

775

776
777
778
779
780
781
782
          p->nTagAlloc = p->nTagAlloc*2 + 10;
          p->aTag = fossil_realloc(p->aTag, p->nTagAlloc*sizeof(p->aTag[0]) );
        }
        i = p->nTag++;
        p->aTag[i].zName = zName;
        p->aTag[i].zUuid = zUuid;
        p->aTag[i].zValue = zValue;
        if( i>0 && fossil_strcmp(p->aTag[i-1].zName, zName)>=0 ){

          SYNTAX("T-card in the wrong order");

        }
        break;
      }

      /*
      **     U ?<login>?
      **







|
>
|
>







767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
          p->nTagAlloc = p->nTagAlloc*2 + 10;
          p->aTag = fossil_realloc(p->aTag, p->nTagAlloc*sizeof(p->aTag[0]) );
        }
        i = p->nTag++;
        p->aTag[i].zName = zName;
        p->aTag[i].zUuid = zUuid;
        p->aTag[i].zValue = zValue;
        if( i>0 && fossil_strcmp(p->aTag[i-1].zUuid, zUuid)>=0 ){
          if( fossil_strcmp(p->aTag[i-1].zUuid, zUuid) || fossil_strcmp(p->aTag[i-1].zName, zName)>=0 ){
            SYNTAX("T-card in the wrong order");
          }
        }
        break;
      }

      /*
      **     U ?<login>?
      **