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.
Commit
b6862a3700b7664f0c44e6ff2b9ce65561776710
Parent
24a0667e785c19b…
1 file changed
+1
+1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -663,10 +663,11 @@ | ||
| 663 | 663 | @ | %z(href("%R/timeline?d=%!S&unhide",zUuid))descendants</a> |
| 664 | 664 | } |
| 665 | 665 | if( zParent && !isLeaf ){ |
| 666 | 666 | @ | %z(href("%R/timeline?dp=%!S&unhide",zUuid))both</a> |
| 667 | 667 | } |
| 668 | + @ | %z(href("%R/timeline?c=%!S&unhide",zUuid))circa</a> | |
| 668 | 669 | db_prepare(&q2,"SELECT substr(tag.tagname,5) FROM tagxref, tag " |
| 669 | 670 | " WHERE rid=%d AND tagtype>0 " |
| 670 | 671 | " AND tag.tagid=tagxref.tagid " |
| 671 | 672 | " AND +tag.tagname GLOB 'sym-*'", rid); |
| 672 | 673 | while( db_step(&q2)==SQLITE_ROW ){ |
| 673 | 674 |
| --- 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 |