632
633
634
635
636
637
638
639
640
641
642
643
644
645
|
if( strncmp(zCmd, "next", n)==0 ){
PathNode *pMid;
char *zDisplay = db_lget("bisect-display","chart");
int m = (int)strlen(zDisplay);
bisect_path();
if( db_lget_boolean("bisect-linear",0) ){
pMid = path_next();
}else{
pMid = path_midpoint();
}
if( pMid==0 ){
fossil_print("bisect complete\n");
db_lset_int("bisect-complete",1);
}else{
|
>
|
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
|
if( strncmp(zCmd, "next", n)==0 ){
PathNode *pMid;
char *zDisplay = db_lget("bisect-display","chart");
int m = (int)strlen(zDisplay);
bisect_path();
if( db_lget_boolean("bisect-linear",0) ){
pMid = path_next();
if( pMid && pMid->rid==db_lget_int("checkout",0) ) pMid = 0;
}else{
pMid = path_midpoint();
}
if( pMid==0 ){
fossil_print("bisect complete\n");
db_lset_int("bisect-complete",1);
}else{
|