Fossil SCM
Fossil self-identifies the check-in that is the current executable when it is displaying a timeline of its own source repository.
Commit
95c924411910f1d6eed0a5bd1ac095ddc233225b6d510e2f7338a73c6b80681e
Parent
7d2e4ed653a5369…
1 file changed
+9
+9
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -598,10 +598,19 @@ | ||
| 598 | 598 | drawDetailEllipsis = 0; |
| 599 | 599 | }else{ |
| 600 | 600 | cgi_printf("%W",blob_str(&comment)); |
| 601 | 601 | } |
| 602 | 602 | } |
| 603 | + | |
| 604 | + if( zType[0]=='c' && strcmp(zUuid, MANIFEST_UUID)==0 ){ | |
| 605 | + /* This will only ever happen when Fossil is drawing a timeline for | |
| 606 | + ** its own self-host repository. If the timeline shows the specific | |
| 607 | + ** check-in corresponding to the current executable, then tag that | |
| 608 | + ** check-in with "This is me!". */ | |
| 609 | + @ <b>← This is me!</b> | |
| 610 | + } | |
| 611 | + | |
| 603 | 612 | @ </span> |
| 604 | 613 | blob_reset(&comment); |
| 605 | 614 | |
| 606 | 615 | /* Generate extra information and hyperlinks to follow the comment. |
| 607 | 616 | ** Example: "(check-in: [abcdefg], user: drh, tags: trunk)" |
| 608 | 617 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -598,10 +598,19 @@ | |
| 598 | drawDetailEllipsis = 0; |
| 599 | }else{ |
| 600 | cgi_printf("%W",blob_str(&comment)); |
| 601 | } |
| 602 | } |
| 603 | @ </span> |
| 604 | blob_reset(&comment); |
| 605 | |
| 606 | /* Generate extra information and hyperlinks to follow the comment. |
| 607 | ** Example: "(check-in: [abcdefg], user: drh, tags: trunk)" |
| 608 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -598,10 +598,19 @@ | |
| 598 | drawDetailEllipsis = 0; |
| 599 | }else{ |
| 600 | cgi_printf("%W",blob_str(&comment)); |
| 601 | } |
| 602 | } |
| 603 | |
| 604 | if( zType[0]=='c' && strcmp(zUuid, MANIFEST_UUID)==0 ){ |
| 605 | /* This will only ever happen when Fossil is drawing a timeline for |
| 606 | ** its own self-host repository. If the timeline shows the specific |
| 607 | ** check-in corresponding to the current executable, then tag that |
| 608 | ** check-in with "This is me!". */ |
| 609 | @ <b>← This is me!</b> |
| 610 | } |
| 611 | |
| 612 | @ </span> |
| 613 | blob_reset(&comment); |
| 614 | |
| 615 | /* Generate extra information and hyperlinks to follow the comment. |
| 616 | ** Example: "(check-in: [abcdefg], user: drh, tags: trunk)" |
| 617 |