Fossil SCM

Possible fix for lockup on merge with rename and (maybe?) custom baseline (exact reasons for lockup not 100% known), resolves issue with my (private) repository. Change received from drh via mailing list. See http://www.mail-archive.com/[email protected]/msg23838.html for details.

andygoth 2016-09-06 19:24 UTC trunk
Commit 0120be34ea8b8599302329667c1b0cfb08116087
1 file changed +1 -1
+1 -1
--- src/merge.c
+++ src/merge.c
@@ -395,11 +395,11 @@
395395
}
396396
if( zPivot ){
397397
vAncestor = db_exists(
398398
"WITH RECURSIVE ancestor(id) AS ("
399399
" VALUES(%d)"
400
- " UNION ALL"
400
+ " UNION"
401401
" SELECT pid FROM plink, ancestor"
402402
" WHERE cid=ancestor.id AND pid!=%d AND cid!=%d)"
403403
"SELECT 1 FROM ancestor WHERE id=%d LIMIT 1",
404404
vid, nid, pid, pid
405405
) ? 'p' : 'n';
406406
--- src/merge.c
+++ src/merge.c
@@ -395,11 +395,11 @@
395 }
396 if( zPivot ){
397 vAncestor = db_exists(
398 "WITH RECURSIVE ancestor(id) AS ("
399 " VALUES(%d)"
400 " UNION ALL"
401 " SELECT pid FROM plink, ancestor"
402 " WHERE cid=ancestor.id AND pid!=%d AND cid!=%d)"
403 "SELECT 1 FROM ancestor WHERE id=%d LIMIT 1",
404 vid, nid, pid, pid
405 ) ? 'p' : 'n';
406
--- src/merge.c
+++ src/merge.c
@@ -395,11 +395,11 @@
395 }
396 if( zPivot ){
397 vAncestor = db_exists(
398 "WITH RECURSIVE ancestor(id) AS ("
399 " VALUES(%d)"
400 " UNION"
401 " SELECT pid FROM plink, ancestor"
402 " WHERE cid=ancestor.id AND pid!=%d AND cid!=%d)"
403 "SELECT 1 FROM ancestor WHERE id=%d LIMIT 1",
404 vid, nid, pid, pid
405 ) ? 'p' : 'n';
406

Keyboard Shortcuts

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