I tested the automatic expansion of wildcards on windows and linux.
Here is my program:
#include
#include
int main(int argc, char **argv)
{
int i;
for (i=0; i<argc; i++)
{
printf("%d: %s\n",i,argv[i]);
}
return 0;
}
I built it as "tester" and ran this command-line:
tester *.asm
windows shell/command-line does nothing. It displays:
0: tester.exe
1: *.asm
I am used to writing windows command-line tools and I am used to doing all the
hard work of parsing the parameters, handling wildcards etc.
I guess fossil is doing the same for the windows build.
I tested it on linux (ubuntu, bash shell) and it does expand it unless I
surround it with quotes.
without quotes:
tester *.asm
0: tester
1: changemode.asm
2: changecolour.asm
but with quotes:
tester "*.asm"
0: tester
1: *.asm
So in theory I should be able to put it in quotes and fossil can then allow me
to revert multiple missing files.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users