bug: fossil import --git (somteimes tag will be missing) https://git-scm.com/docs/git-fast-import reset > 'reset' SP <ref> LF > ('from' SP <commit-ish> LF)? > LF?
fossil skip the tag of reset. https://www.fossil-scm.org/index.html/artifact/19f34d2902649e2ca572089b3766f259f0a5c132?txt=1&ln=547 Index: src/import.c ================================================================== --- src/import.c +++ src/import.c @@ -542,12 +542,18 @@ gg.xFinish(); gg.xFinish = finish_tag; trim_newline(&zLine[4]); gg.zTag = fossil_strdup(&zLine[4]); }else - if( strncmp(zLine, "reset ", 4)==0 ){ + if( strncmp(zLine, "reset ", 6)==0 ){ gg.xFinish(); + trim_newline(&zLine[6]); + z = &zLine[6]; + if( strncmp(z, "refs/tags/", 10)==0 ){ + z += 10; + if( z[0]!=0 ) fprintf(stderr, " Sorry, The Tag was missing: %s\n" , z); + } }else if( strncmp(zLine, "checkpoint", 10)==0 ){ gg.xFinish(); }else if( strncmp(zLine, "feature", 7)==0 ){ _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

