Fossil SCM

Fix a timeline bug, showing an unintended arrow when closing a fork.

jan.nijtmans 2016-07-05 14:23 trunk
Commit f16e1a0eab404fcb835983c6d2049e7450dd2fbc
1 file changed +1 -1
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -474,11 +474,11 @@
474474
for(pRow=p->pLast; pRow; pRow=pRow->pPrev){
475475
int parentRid;
476476
477477
if( pRow->iRail>=0 ){
478478
if( pRow->pChild==0 && !pRow->timeWarp ){
479
- if( omitDescenders || pRow->isLeaf ){
479
+ if( omitDescenders || count_nonbranch_children(pRow->rid)==0 ){
480480
/* no-op */
481481
}else{
482482
riser_to_top(pRow);
483483
}
484484
}
485485
--- src/graph.c
+++ src/graph.c
@@ -474,11 +474,11 @@
474 for(pRow=p->pLast; pRow; pRow=pRow->pPrev){
475 int parentRid;
476
477 if( pRow->iRail>=0 ){
478 if( pRow->pChild==0 && !pRow->timeWarp ){
479 if( omitDescenders || pRow->isLeaf ){
480 /* no-op */
481 }else{
482 riser_to_top(pRow);
483 }
484 }
485
--- src/graph.c
+++ src/graph.c
@@ -474,11 +474,11 @@
474 for(pRow=p->pLast; pRow; pRow=pRow->pPrev){
475 int parentRid;
476
477 if( pRow->iRail>=0 ){
478 if( pRow->pChild==0 && !pRow->timeWarp ){
479 if( omitDescenders || count_nonbranch_children(pRow->rid)==0 ){
480 /* no-op */
481 }else{
482 riser_to_top(pRow);
483 }
484 }
485

Keyboard Shortcuts

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