Fossil SCM

Fossil self-identifies the check-in that is the current executable when it is displaying a timeline of its own source repository.

drh 2025-04-10 18:54 trunk
Commit 95c924411910f1d6eed0a5bd1ac095ddc233225b6d510e2f7338a73c6b80681e
1 file changed +9
--- src/timeline.c
+++ src/timeline.c
@@ -598,10 +598,19 @@
598598
drawDetailEllipsis = 0;
599599
}else{
600600
cgi_printf("%W",blob_str(&comment));
601601
}
602602
}
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>&larr; This is me!</b>
610
+ }
611
+
603612
@ </span>
604613
blob_reset(&comment);
605614
606615
/* Generate extra information and hyperlinks to follow the comment.
607616
** Example: "(check-in: [abcdefg], user: drh, tags: trunk)"
608617
--- 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>&larr; 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button