Fossil SCM

Avoid misinterpretation of operator.

andybradford 2014-05-20 05:47 UTC per-round-trip-commit
Commit bfdc38243fc1b6cb07a1db4ea15ac12a99c75d7e
1 file changed +4 -2
+4 -2
--- src/merge.c
+++ src/merge.c
@@ -273,12 +273,14 @@
273273
print_checkin_description(pid, 12, "baseline:");
274274
}
275275
vfile_check_signature(vid, CKSIG_ENOTFILE);
276276
db_begin_transaction();
277277
if( !dryRunFlag ) undo_begin();
278
- if( ( load_vfile_from_rid(mid) | load_vfile_from_rid(pid) )!=0
279
- && !forceMissingFlag ){
278
+ if( load_vfile_from_rid(mid) && !forceMissingFlag ){
279
+ fossil_fatal("missing content, unable to merge");
280
+ }
281
+ if( load_vfile_from_rid(pid) && !forceMissingFlag ){
280282
fossil_fatal("missing content, unable to merge");
281283
}
282284
if( debugFlag ){
283285
char *z;
284286
z = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", pid);
285287
--- src/merge.c
+++ src/merge.c
@@ -273,12 +273,14 @@
273 print_checkin_description(pid, 12, "baseline:");
274 }
275 vfile_check_signature(vid, CKSIG_ENOTFILE);
276 db_begin_transaction();
277 if( !dryRunFlag ) undo_begin();
278 if( ( load_vfile_from_rid(mid) | load_vfile_from_rid(pid) )!=0
279 && !forceMissingFlag ){
 
 
280 fossil_fatal("missing content, unable to merge");
281 }
282 if( debugFlag ){
283 char *z;
284 z = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", pid);
285
--- src/merge.c
+++ src/merge.c
@@ -273,12 +273,14 @@
273 print_checkin_description(pid, 12, "baseline:");
274 }
275 vfile_check_signature(vid, CKSIG_ENOTFILE);
276 db_begin_transaction();
277 if( !dryRunFlag ) undo_begin();
278 if( load_vfile_from_rid(mid) && !forceMissingFlag ){
279 fossil_fatal("missing content, unable to merge");
280 }
281 if( load_vfile_from_rid(pid) && !forceMissingFlag ){
282 fossil_fatal("missing content, unable to merge");
283 }
284 if( debugFlag ){
285 char *z;
286 z = db_text(0, "SELECT uuid FROM blob WHERE rid=%d", pid);
287

Keyboard Shortcuts

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