Fossil SCM
Fix the graph of changes for individual files - broken by recent work on the graph generator.
Commit
c693d82da27742ef23b631a4bee8ecd9af9b0dcc
Parent
fbc2f1c287495c3…
1 file changed
+1
-1
+1
-1
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -519,11 +519,11 @@ | ||
| 519 | 519 | } |
| 520 | 520 | mask = BIT(pRow->iRail); |
| 521 | 521 | pRow->railInUse |= mask; |
| 522 | 522 | if( pRow->pChild ){ |
| 523 | 523 | assignChildrenToRail(pRow); |
| 524 | - }else if( !pRow->isLeaf ){ | |
| 524 | + }else if( !pRow->isLeaf && !omitDescenders ){ | |
| 525 | 525 | riser_to_top(pRow); |
| 526 | 526 | } |
| 527 | 527 | if( pParent ){ |
| 528 | 528 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 529 | 529 | pLoop->railInUse |= mask; |
| 530 | 530 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -519,11 +519,11 @@ | |
| 519 | } |
| 520 | mask = BIT(pRow->iRail); |
| 521 | pRow->railInUse |= mask; |
| 522 | if( pRow->pChild ){ |
| 523 | assignChildrenToRail(pRow); |
| 524 | }else if( !pRow->isLeaf ){ |
| 525 | riser_to_top(pRow); |
| 526 | } |
| 527 | if( pParent ){ |
| 528 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 529 | pLoop->railInUse |= mask; |
| 530 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -519,11 +519,11 @@ | |
| 519 | } |
| 520 | mask = BIT(pRow->iRail); |
| 521 | pRow->railInUse |= mask; |
| 522 | if( pRow->pChild ){ |
| 523 | assignChildrenToRail(pRow); |
| 524 | }else if( !pRow->isLeaf && !omitDescenders ){ |
| 525 | riser_to_top(pRow); |
| 526 | } |
| 527 | if( pParent ){ |
| 528 | for(pLoop=pParent->pPrev; pLoop && pLoop!=pRow; pLoop=pLoop->pPrev){ |
| 529 | pLoop->railInUse |= mask; |
| 530 |