$ ./fossil import --git new-repo.fossil "Files that do not exist"
Segmentation fault
Index: src/import.c
==================================================================
--- src/import.c
+++ src/import.c
@@ -1735,10 +1735,12 @@
if( g.argc!=3 && g.argc!=4 ){
usage("--git|--svn ?OPTIONS? NEW-REPOSITORY ?INPUT-FILE?");
}
if( g.argc==4 ){
pIn = fossil_fopen(g.argv[3], "rb");
+ if( !pIn )
+ fossil_fatal("cannot open %s ", g.argv[3]);
}else{
pIn = stdin;
fossil_binary_mode(pIn);
}
if( !incrFlag ){
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users