Fossil SCM

Skip missing merge parents. Git doesn't like missing marks and there isn't anything to be done about them.

joerg 2011-07-21 17:35 trunk
Commit b71b32d131fe71f40dae41a65600312f61b513bb
1 file changed +1
--- src/export.c
+++ src/export.c
@@ -194,10 +194,11 @@
194194
parent = db_column_int(&q2, 0);
195195
printf("from :%d\n", parent+firstCkin);
196196
db_prepare(&q3,
197197
"SELECT pid FROM plink"
198198
" WHERE cid=%d AND NOT isprim"
199
+ " AND NOT EXISTS(SELECT 1 FROM phantom WHERE rid=pid)"
199200
" ORDER BY pid",
200201
ckinId);
201202
while( db_step(&q3)==SQLITE_ROW ){
202203
printf("merge :%d\n", db_column_int(&q3,0)+firstCkin);
203204
}
204205
--- src/export.c
+++ src/export.c
@@ -194,10 +194,11 @@
194 parent = db_column_int(&q2, 0);
195 printf("from :%d\n", parent+firstCkin);
196 db_prepare(&q3,
197 "SELECT pid FROM plink"
198 " WHERE cid=%d AND NOT isprim"
 
199 " ORDER BY pid",
200 ckinId);
201 while( db_step(&q3)==SQLITE_ROW ){
202 printf("merge :%d\n", db_column_int(&q3,0)+firstCkin);
203 }
204
--- src/export.c
+++ src/export.c
@@ -194,10 +194,11 @@
194 parent = db_column_int(&q2, 0);
195 printf("from :%d\n", parent+firstCkin);
196 db_prepare(&q3,
197 "SELECT pid FROM plink"
198 " WHERE cid=%d AND NOT isprim"
199 " AND NOT EXISTS(SELECT 1 FROM phantom WHERE rid=pid)"
200 " ORDER BY pid",
201 ckinId);
202 while( db_step(&q3)==SQLITE_ROW ){
203 printf("merge :%d\n", db_column_int(&q3,0)+firstCkin);
204 }
205

Keyboard Shortcuts

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