637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
|
@ <h2>The initial check-in for each branch:</h2>
db_prepare(&q,
"%s AND blob.rid IN (SELECT rid FROM tagxref"
" WHERE tagtype>0 AND tagid=%d AND srcid!=0)"
" ORDER BY event.mtime DESC",
timeline_query_for_www(), TAG_BRANCH
);
/* With TIMELINE_LEAFONLY (which also implies TIMELINE_DISJOINT), the branch
** background colors are shown, and the timeline nodes are drawn, but the
** connecting rails are omitted. */
tmFlags = TIMELINE_LEAFONLY | TIMELINE_NOSCROLL;
if( P("ng")==0 ) tmFlags |= TIMELINE_GRAPH;
if( P("brbg")!=0 ) tmFlags |= TIMELINE_BRCOLOR;
if( P("ubg")!=0 ) tmFlags |= TIMELINE_UCOLOR;
www_print_timeline(&q, tmFlags, 0, 0, 0, brtimeline_extra);
db_finalize(&q);
style_footer();
}
|
|
|
<
|
|
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
|
@ <h2>The initial check-in for each branch:</h2>
db_prepare(&q,
"%s AND blob.rid IN (SELECT rid FROM tagxref"
" WHERE tagtype>0 AND tagid=%d AND srcid!=0)"
" ORDER BY event.mtime DESC",
timeline_query_for_www(), TAG_BRANCH
);
/* Always specify TIMELINE_DISJOINT, or graph_finish() may fail because of too
** many descenders to (off-screen) parents. */
tmFlags = TIMELINE_DISJOINT | TIMELINE_NOSCROLL;
if( P("ng")==0 ) tmFlags |= TIMELINE_GRAPH;
if( P("brbg")!=0 ) tmFlags |= TIMELINE_BRCOLOR;
if( P("ubg")!=0 ) tmFlags |= TIMELINE_UCOLOR;
www_print_timeline(&q, tmFlags, 0, 0, 0, brtimeline_extra);
db_finalize(&q);
style_footer();
}
|