Indeed, in export.c the commits are lined up chronologically.
There's a way to try to catch such inconsistencies by tracking when
the "from :mark" gets freshly incremented (that is the parent has not
been exported yet):
src/export.c::~581
int next_mark = unused_mark;
zMark = mark_name_from_rid(pid, &unused_mark);
if ( unused_mark == next_mark+1 ){
/* Handle a "future" parent commit */
}
printf("from %s\n", zMark);
Still, this will need a restructuring of the export flow.
This may also become a run-away problem, once we start chasing the
parent commit-chain through potential merges etc.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users