Fossil SCM

Add the "Path" submenu link on the "/vdiff" web page.

drh 2014-07-30 11:45 trunk
Commit ef6f7dee43779e16ceb8e4277d7d7d8ee7f0ddf5
2 files changed +2 +2 -1
+2
--- src/info.c
+++ src/info.c
@@ -987,10 +987,12 @@
987987
if(zGlob && !*zGlob){
988988
zGlob = NULL;
989989
}
990990
diffFlags = construct_diff_flags(verboseFlag, sideBySide);
991991
zW = (diffFlags&DIFF_IGNORE_ALLWS)?"&w":"";
992
+ style_submenu_element("Path","path",
993
+ "%R/timeline?me=%T&you=%T", zFrom, zTo);
992994
if( sideBySide || verboseFlag ){
993995
style_submenu_element("Hide Diff", "hidediff",
994996
"%R/vdiff?from=%T&to=%T&sbs=0%s%T%s",
995997
zFrom, zTo,
996998
zGlob ? "&glob=" : "", zGlob ? zGlob : "", zW);
997999
--- src/info.c
+++ src/info.c
@@ -987,10 +987,12 @@
987 if(zGlob && !*zGlob){
988 zGlob = NULL;
989 }
990 diffFlags = construct_diff_flags(verboseFlag, sideBySide);
991 zW = (diffFlags&DIFF_IGNORE_ALLWS)?"&w":"";
 
 
992 if( sideBySide || verboseFlag ){
993 style_submenu_element("Hide Diff", "hidediff",
994 "%R/vdiff?from=%T&to=%T&sbs=0%s%T%s",
995 zFrom, zTo,
996 zGlob ? "&glob=" : "", zGlob ? zGlob : "", zW);
997
--- src/info.c
+++ src/info.c
@@ -987,10 +987,12 @@
987 if(zGlob && !*zGlob){
988 zGlob = NULL;
989 }
990 diffFlags = construct_diff_flags(verboseFlag, sideBySide);
991 zW = (diffFlags&DIFF_IGNORE_ALLWS)?"&w":"";
992 style_submenu_element("Path","path",
993 "%R/timeline?me=%T&you=%T", zFrom, zTo);
994 if( sideBySide || verboseFlag ){
995 style_submenu_element("Hide Diff", "hidediff",
996 "%R/vdiff?from=%T&to=%T&sbs=0%s%T%s",
997 zFrom, zTo,
998 zGlob ? "&glob=" : "", zGlob ? zGlob : "", zW);
999
+2 -1
--- src/timeline.c
+++ src/timeline.c
@@ -996,19 +996,20 @@
996996
** d=UUID artifact and up to COUNT descendants
997997
** dp=UUID The same as d=UUID&p=UUID
998998
** t=TAGID show only check-ins with the given tagid
999999
** r=TAGID show check-ins related to tagid
10001000
** u=USER only if belonging to this user
1001
-** y=TYPE 'ci', 'w', 't', 'e'
1001
+** y=TYPE 'ci', 'w', 't', 'e', or (default) 'all'
10021002
** s=TEXT string search (comment and brief)
10031003
** ng Suppress the graph if present
10041004
** nd Suppress "divider" lines
10051005
** v Show details of files changed
10061006
** f=UUID Show family (immediate parents and children) of UUID
10071007
** from=UUID Path from...
10081008
** to=UUID ... to this
10091009
** nomerge ... avoid merge links on the path
1010
+** shortest ... show only the shortest path
10101011
** uf=FUUID Show only checkins that use given file version
10111012
** brbg Background color from branch name
10121013
** ubg Background color from user
10131014
** namechng Show only checkins that filename changes
10141015
** ym=YYYY-MM Shown only events for the given year/month.
10151016
--- src/timeline.c
+++ src/timeline.c
@@ -996,19 +996,20 @@
996 ** d=UUID artifact and up to COUNT descendants
997 ** dp=UUID The same as d=UUID&p=UUID
998 ** t=TAGID show only check-ins with the given tagid
999 ** r=TAGID show check-ins related to tagid
1000 ** u=USER only if belonging to this user
1001 ** y=TYPE 'ci', 'w', 't', 'e'
1002 ** s=TEXT string search (comment and brief)
1003 ** ng Suppress the graph if present
1004 ** nd Suppress "divider" lines
1005 ** v Show details of files changed
1006 ** f=UUID Show family (immediate parents and children) of UUID
1007 ** from=UUID Path from...
1008 ** to=UUID ... to this
1009 ** nomerge ... avoid merge links on the path
 
1010 ** uf=FUUID Show only checkins that use given file version
1011 ** brbg Background color from branch name
1012 ** ubg Background color from user
1013 ** namechng Show only checkins that filename changes
1014 ** ym=YYYY-MM Shown only events for the given year/month.
1015
--- src/timeline.c
+++ src/timeline.c
@@ -996,19 +996,20 @@
996 ** d=UUID artifact and up to COUNT descendants
997 ** dp=UUID The same as d=UUID&p=UUID
998 ** t=TAGID show only check-ins with the given tagid
999 ** r=TAGID show check-ins related to tagid
1000 ** u=USER only if belonging to this user
1001 ** y=TYPE 'ci', 'w', 't', 'e', or (default) 'all'
1002 ** s=TEXT string search (comment and brief)
1003 ** ng Suppress the graph if present
1004 ** nd Suppress "divider" lines
1005 ** v Show details of files changed
1006 ** f=UUID Show family (immediate parents and children) of UUID
1007 ** from=UUID Path from...
1008 ** to=UUID ... to this
1009 ** nomerge ... avoid merge links on the path
1010 ** shortest ... show only the shortest path
1011 ** uf=FUUID Show only checkins that use given file version
1012 ** brbg Background color from branch name
1013 ** ubg Background color from user
1014 ** namechng Show only checkins that filename changes
1015 ** ym=YYYY-MM Shown only events for the given year/month.
1016

Keyboard Shortcuts

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