Fossil SCM

corrected some mis-placed code from commit #9517cc7486

stephan 2009-12-11 16:14 trunk
Commit 93efce820b7a0d624dcadd579c592f215df2c4ab
1 file changed +3 -5
+3 -5
--- src/checkin.c
+++ src/checkin.c
@@ -563,17 +563,15 @@
563563
blob_zero(&ans);
564564
prompt_user("empty check-in comment. continue [y/N]? ", &ans);
565565
if( blob_str(&ans)[0]!='y' ){
566566
db_end_transaction(1);
567567
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();
572568
}
573569
}
574
-
570
+ db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment);
571
+ db_end_transaction(0);
572
+ db_begin_transaction();
575573
/* Step 1: Insert records for all modified files into the blob
576574
** table. If there were arguments passed to this command, only
577575
** the identified fils are inserted (if they have been modified).
578576
*/
579577
db_prepare(&q,
580578
--- 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

Keyboard Shortcuts

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