Fossil SCM
Add a hyperlink on branch tags of the info display that carries the user to a timeline of the branch.
Commit
732e3db329eee7fa1ee9126d90b534ba1b346585
Parent
d97a4cdf8dce617…
1 file changed
+4
+4
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -206,10 +206,14 @@ | ||
| 206 | 206 | @ inherited from |
| 207 | 207 | hyperlink_to_uuid(zOrigUuid); |
| 208 | 208 | }else{ |
| 209 | 209 | @ propagates to descendants |
| 210 | 210 | } |
| 211 | + if( zValue && strcmp(zTagname,"branch")==0 ){ | |
| 212 | + @ | |
| 213 | + @ <a href="%s(g.zBaseURL)/timeline?t=%T(zValue)">branch timeline</a> | |
| 214 | + } | |
| 211 | 215 | } |
| 212 | 216 | if( zSrcUuid && zSrcUuid[0] ){ |
| 213 | 217 | if( tagtype==0 ){ |
| 214 | 218 | @ by |
| 215 | 219 | }else{ |
| 216 | 220 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -206,10 +206,14 @@ | |
| 206 | @ inherited from |
| 207 | hyperlink_to_uuid(zOrigUuid); |
| 208 | }else{ |
| 209 | @ propagates to descendants |
| 210 | } |
| 211 | } |
| 212 | if( zSrcUuid && zSrcUuid[0] ){ |
| 213 | if( tagtype==0 ){ |
| 214 | @ by |
| 215 | }else{ |
| 216 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -206,10 +206,14 @@ | |
| 206 | @ inherited from |
| 207 | hyperlink_to_uuid(zOrigUuid); |
| 208 | }else{ |
| 209 | @ propagates to descendants |
| 210 | } |
| 211 | if( zValue && strcmp(zTagname,"branch")==0 ){ |
| 212 | @ |
| 213 | @ <a href="%s(g.zBaseURL)/timeline?t=%T(zValue)">branch timeline</a> |
| 214 | } |
| 215 | } |
| 216 | if( zSrcUuid && zSrcUuid[0] ){ |
| 217 | if( tagtype==0 ){ |
| 218 | @ by |
| 219 | }else{ |
| 220 |