Fossil SCM

Modify commit error message about unresolved merge conflicts to include the option used to disable the check.

mistachkin 2012-11-26 20:47 trunk
Commit 2ff70a313088a4ff9a4adb74a846e2d5605e2051
1 file changed +2 -1
+2 -1
--- src/checkin.c
+++ src/checkin.c
@@ -1332,11 +1332,12 @@
13321332
db_multi_exec("UPDATE vfile SET mrid=%d, rid=%d WHERE id=%d", nrid,nrid,id);
13331333
db_multi_exec("INSERT OR IGNORE INTO unsent VALUES(%d)", nrid);
13341334
}
13351335
db_finalize(&q);
13361336
if( nConflict && !allowConflict ){
1337
- fossil_fatal("abort due to unresolved merge conflicts");
1337
+ fossil_fatal("abort due to unresolved merge conflicts; "
1338
+ "use --allow-conflict to override");
13381339
}
13391340
13401341
/* Create the new manifest */
13411342
if( blob_size(&comment)==0 ){
13421343
blob_append(&comment, "(no comment)", -1);
13431344
--- src/checkin.c
+++ src/checkin.c
@@ -1332,11 +1332,12 @@
1332 db_multi_exec("UPDATE vfile SET mrid=%d, rid=%d WHERE id=%d", nrid,nrid,id);
1333 db_multi_exec("INSERT OR IGNORE INTO unsent VALUES(%d)", nrid);
1334 }
1335 db_finalize(&q);
1336 if( nConflict && !allowConflict ){
1337 fossil_fatal("abort due to unresolved merge conflicts");
 
1338 }
1339
1340 /* Create the new manifest */
1341 if( blob_size(&comment)==0 ){
1342 blob_append(&comment, "(no comment)", -1);
1343
--- src/checkin.c
+++ src/checkin.c
@@ -1332,11 +1332,12 @@
1332 db_multi_exec("UPDATE vfile SET mrid=%d, rid=%d WHERE id=%d", nrid,nrid,id);
1333 db_multi_exec("INSERT OR IGNORE INTO unsent VALUES(%d)", nrid);
1334 }
1335 db_finalize(&q);
1336 if( nConflict && !allowConflict ){
1337 fossil_fatal("abort due to unresolved merge conflicts; "
1338 "use --allow-conflict to override");
1339 }
1340
1341 /* Create the new manifest */
1342 if( blob_size(&comment)==0 ){
1343 blob_append(&comment, "(no comment)", -1);
1344

Keyboard Shortcuts

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