Fossil SCM
Add an optional REMOTE:PATH term on the "fossil bisect ui" command that runs the UI on the specified remote check-out.
Commit
a865c62a16b345d169ce5b610cfd899eb1965283fda135b307f3b2321510a461
Parent
3f6a7e511390ad7…
1 file changed
+12
-4
+12
-4
| --- src/bisect.c | ||
| +++ src/bisect.c | ||
| @@ -543,14 +543,16 @@ | ||
| 543 | 543 | ** |
| 544 | 544 | ** > fossil bisect vlist|ls|status ?-a|--all? |
| 545 | 545 | ** |
| 546 | 546 | ** List the versions in between the inner-most "bad" and "good". |
| 547 | 547 | ** |
| 548 | -** > fossil bisect ui | |
| 548 | +** > fossil bisect ui ?HOST@USER:PATH? | |
| 549 | 549 | ** |
| 550 | 550 | ** Like "fossil ui" except start on a timeline that shows only the |
| 551 | -** check-ins that are part of the current bisect. | |
| 551 | +** check-ins that are part of the current bisect. If the optional | |
| 552 | +** fourth term is added, then information is show for the bisect that | |
| 553 | +** occurred in the PATH directory by USER on remote machine HOST. | |
| 552 | 554 | ** |
| 553 | 555 | ** > fossil bisect undo |
| 554 | 556 | ** |
| 555 | 557 | ** Undo the most recent "good", "bad", or "skip" command. |
| 556 | 558 | */ |
| @@ -719,17 +721,23 @@ | ||
| 719 | 721 | } |
| 720 | 722 | }else if( strncmp(zCmd, "reset", n)==0 ){ |
| 721 | 723 | bisect_reset(); |
| 722 | 724 | }else if( strcmp(zCmd, "ui")==0 ){ |
| 723 | 725 | char *newArgv[8]; |
| 726 | + verify_all_options(); | |
| 724 | 727 | newArgv[0] = g.argv[0]; |
| 725 | 728 | newArgv[1] = "ui"; |
| 726 | 729 | newArgv[2] = "--page"; |
| 727 | 730 | newArgv[3] = "timeline?bisect"; |
| 728 | - newArgv[4] = 0; | |
| 731 | + if( g.argc==4 ){ | |
| 732 | + newArgv[4] = g.argv[3]; | |
| 733 | + g.argc = 5; | |
| 734 | + }else{ | |
| 735 | + g.argc = 4; | |
| 736 | + } | |
| 737 | + newArgv[g.argc] = 0; | |
| 729 | 738 | g.argv = newArgv; |
| 730 | - g.argc = 4; | |
| 731 | 739 | cmd_webserver(); |
| 732 | 740 | }else if( strncmp(zCmd, "vlist", n)==0 |
| 733 | 741 | || strncmp(zCmd, "ls", n)==0 |
| 734 | 742 | || strncmp(zCmd, "status", n)==0 |
| 735 | 743 | ){ |
| 736 | 744 |
| --- src/bisect.c | |
| +++ src/bisect.c | |
| @@ -543,14 +543,16 @@ | |
| 543 | ** |
| 544 | ** > fossil bisect vlist|ls|status ?-a|--all? |
| 545 | ** |
| 546 | ** List the versions in between the inner-most "bad" and "good". |
| 547 | ** |
| 548 | ** > fossil bisect ui |
| 549 | ** |
| 550 | ** Like "fossil ui" except start on a timeline that shows only the |
| 551 | ** check-ins that are part of the current bisect. |
| 552 | ** |
| 553 | ** > fossil bisect undo |
| 554 | ** |
| 555 | ** Undo the most recent "good", "bad", or "skip" command. |
| 556 | */ |
| @@ -719,17 +721,23 @@ | |
| 719 | } |
| 720 | }else if( strncmp(zCmd, "reset", n)==0 ){ |
| 721 | bisect_reset(); |
| 722 | }else if( strcmp(zCmd, "ui")==0 ){ |
| 723 | char *newArgv[8]; |
| 724 | newArgv[0] = g.argv[0]; |
| 725 | newArgv[1] = "ui"; |
| 726 | newArgv[2] = "--page"; |
| 727 | newArgv[3] = "timeline?bisect"; |
| 728 | newArgv[4] = 0; |
| 729 | g.argv = newArgv; |
| 730 | g.argc = 4; |
| 731 | cmd_webserver(); |
| 732 | }else if( strncmp(zCmd, "vlist", n)==0 |
| 733 | || strncmp(zCmd, "ls", n)==0 |
| 734 | || strncmp(zCmd, "status", n)==0 |
| 735 | ){ |
| 736 |
| --- src/bisect.c | |
| +++ src/bisect.c | |
| @@ -543,14 +543,16 @@ | |
| 543 | ** |
| 544 | ** > fossil bisect vlist|ls|status ?-a|--all? |
| 545 | ** |
| 546 | ** List the versions in between the inner-most "bad" and "good". |
| 547 | ** |
| 548 | ** > fossil bisect ui ?HOST@USER:PATH? |
| 549 | ** |
| 550 | ** Like "fossil ui" except start on a timeline that shows only the |
| 551 | ** check-ins that are part of the current bisect. If the optional |
| 552 | ** fourth term is added, then information is show for the bisect that |
| 553 | ** occurred in the PATH directory by USER on remote machine HOST. |
| 554 | ** |
| 555 | ** > fossil bisect undo |
| 556 | ** |
| 557 | ** Undo the most recent "good", "bad", or "skip" command. |
| 558 | */ |
| @@ -719,17 +721,23 @@ | |
| 721 | } |
| 722 | }else if( strncmp(zCmd, "reset", n)==0 ){ |
| 723 | bisect_reset(); |
| 724 | }else if( strcmp(zCmd, "ui")==0 ){ |
| 725 | char *newArgv[8]; |
| 726 | verify_all_options(); |
| 727 | newArgv[0] = g.argv[0]; |
| 728 | newArgv[1] = "ui"; |
| 729 | newArgv[2] = "--page"; |
| 730 | newArgv[3] = "timeline?bisect"; |
| 731 | if( g.argc==4 ){ |
| 732 | newArgv[4] = g.argv[3]; |
| 733 | g.argc = 5; |
| 734 | }else{ |
| 735 | g.argc = 4; |
| 736 | } |
| 737 | newArgv[g.argc] = 0; |
| 738 | g.argv = newArgv; |
| 739 | cmd_webserver(); |
| 740 | }else if( strncmp(zCmd, "vlist", n)==0 |
| 741 | || strncmp(zCmd, "ls", n)==0 |
| 742 | || strncmp(zCmd, "status", n)==0 |
| 743 | ){ |
| 744 |