Fossil SCM
corrected some mis-placed code from commit #9517cc7486
Commit
93efce820b7a0d624dcadd579c592f215df2c4ab
Parent
9517cc7486cb68d…
1 file changed
+3
-5
+3
-5
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -563,17 +563,15 @@ | ||
| 563 | 563 | blob_zero(&ans); |
| 564 | 564 | prompt_user("empty check-in comment. continue [y/N]? ", &ans); |
| 565 | 565 | if( blob_str(&ans)[0]!='y' ){ |
| 566 | 566 | db_end_transaction(1); |
| 567 | 567 | exit(1); |
| 568 | - }else{ | |
| 569 | - db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment); | |
| 570 | - db_end_transaction(0); | |
| 571 | - db_begin_transaction(); | |
| 572 | 568 | } |
| 573 | 569 | } |
| 574 | - | |
| 570 | + db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment); | |
| 571 | + db_end_transaction(0); | |
| 572 | + db_begin_transaction(); | |
| 575 | 573 | /* Step 1: Insert records for all modified files into the blob |
| 576 | 574 | ** table. If there were arguments passed to this command, only |
| 577 | 575 | ** the identified fils are inserted (if they have been modified). |
| 578 | 576 | */ |
| 579 | 577 | db_prepare(&q, |
| 580 | 578 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -563,17 +563,15 @@ | |
| 563 | blob_zero(&ans); |
| 564 | prompt_user("empty check-in comment. continue [y/N]? ", &ans); |
| 565 | if( blob_str(&ans)[0]!='y' ){ |
| 566 | db_end_transaction(1); |
| 567 | exit(1); |
| 568 | }else{ |
| 569 | db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment); |
| 570 | db_end_transaction(0); |
| 571 | db_begin_transaction(); |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | /* Step 1: Insert records for all modified files into the blob |
| 576 | ** table. If there were arguments passed to this command, only |
| 577 | ** the identified fils are inserted (if they have been modified). |
| 578 | */ |
| 579 | db_prepare(&q, |
| 580 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -563,17 +563,15 @@ | |
| 563 | blob_zero(&ans); |
| 564 | prompt_user("empty check-in comment. continue [y/N]? ", &ans); |
| 565 | if( blob_str(&ans)[0]!='y' ){ |
| 566 | db_end_transaction(1); |
| 567 | exit(1); |
| 568 | } |
| 569 | } |
| 570 | db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment); |
| 571 | db_end_transaction(0); |
| 572 | db_begin_transaction(); |
| 573 | /* Step 1: Insert records for all modified files into the blob |
| 574 | ** table. If there were arguments passed to this command, only |
| 575 | ** the identified fils are inserted (if they have been modified). |
| 576 | */ |
| 577 | db_prepare(&q, |
| 578 |