Fossil SCM

Add "circa" timeline link to show changes made around the time of a given check-in even if they are neither ancestors nor descendants.

andygoth 2016-09-28 21:11 trunk
Commit b6862a3700b7664f0c44e6ff2b9ce65561776710
1 file changed +1
+1
--- src/info.c
+++ src/info.c
@@ -663,10 +663,11 @@
663663
@ | %z(href("%R/timeline?d=%!S&unhide",zUuid))descendants</a>
664664
}
665665
if( zParent && !isLeaf ){
666666
@ | %z(href("%R/timeline?dp=%!S&unhide",zUuid))both</a>
667667
}
668
+ @ | %z(href("%R/timeline?c=%!S&unhide",zUuid))circa</a>
668669
db_prepare(&q2,"SELECT substr(tag.tagname,5) FROM tagxref, tag "
669670
" WHERE rid=%d AND tagtype>0 "
670671
" AND tag.tagid=tagxref.tagid "
671672
" AND +tag.tagname GLOB 'sym-*'", rid);
672673
while( db_step(&q2)==SQLITE_ROW ){
673674
--- src/info.c
+++ src/info.c
@@ -663,10 +663,11 @@
663 @ | %z(href("%R/timeline?d=%!S&unhide",zUuid))descendants</a>
664 }
665 if( zParent && !isLeaf ){
666 @ | %z(href("%R/timeline?dp=%!S&unhide",zUuid))both</a>
667 }
 
668 db_prepare(&q2,"SELECT substr(tag.tagname,5) FROM tagxref, tag "
669 " WHERE rid=%d AND tagtype>0 "
670 " AND tag.tagid=tagxref.tagid "
671 " AND +tag.tagname GLOB 'sym-*'", rid);
672 while( db_step(&q2)==SQLITE_ROW ){
673
--- src/info.c
+++ src/info.c
@@ -663,10 +663,11 @@
663 @ | %z(href("%R/timeline?d=%!S&unhide",zUuid))descendants</a>
664 }
665 if( zParent && !isLeaf ){
666 @ | %z(href("%R/timeline?dp=%!S&unhide",zUuid))both</a>
667 }
668 @ | %z(href("%R/timeline?c=%!S&unhide",zUuid))circa</a>
669 db_prepare(&q2,"SELECT substr(tag.tagname,5) FROM tagxref, tag "
670 " WHERE rid=%d AND tagtype>0 "
671 " AND tag.tagid=tagxref.tagid "
672 " AND +tag.tagname GLOB 'sym-*'", rid);
673 while( db_step(&q2)==SQLITE_ROW ){
674

Keyboard Shortcuts

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