Fossil SCM

Add a hyperlink on branch tags of the info display that carries the user to a timeline of the branch.

drh 2010-03-03 03:34 trunk
Commit 732e3db329eee7fa1ee9126d90b534ba1b346585
1 file changed +4
+4
--- src/info.c
+++ src/info.c
@@ -206,10 +206,14 @@
206206
@ inherited from
207207
hyperlink_to_uuid(zOrigUuid);
208208
}else{
209209
@ propagates to descendants
210210
}
211
+ if( zValue && strcmp(zTagname,"branch")==0 ){
212
+ @   
213
+ @ <a href="%s(g.zBaseURL)/timeline?t=%T(zValue)">branch timeline</a>
214
+ }
211215
}
212216
if( zSrcUuid && zSrcUuid[0] ){
213217
if( tagtype==0 ){
214218
@ by
215219
}else{
216220
--- 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 @ &nbsp;&nbsp;
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

Keyboard Shortcuts

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