Differences From:
File
src/checkin.c
part of check-in
[9517cc7486]
- added -M/--message-file FILENAME argument for commit.
by
stephan on
2009-12-11 15:49:41.
[view]
To:
File
src/checkin.c
part of check-in
[93efce820b]
- corrected some mis-placed code from commit #9517cc7486
by
stephan on
2009-12-11 16:14:55.
[view]
@@ -564,15 +564,13 @@
prompt_user("empty check-in comment. continue [y/N]? ", &ans);
if( blob_str(&ans)[0]!='y' ){
db_end_transaction(1);
exit(1);
- }else{
- db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment);
- db_end_transaction(0);
- db_begin_transaction();
}
}
-
+ db_multi_exec("REPLACE INTO vvar VALUES('ci-comment',%B)", &comment);
+ db_end_transaction(0);
+ db_begin_transaction();
/* Step 1: Insert records for all modified files into the blob
** table. If there were arguments passed to this command, only
** the identified fils are inserted (if they have been modified).
*/