Hi, I'm also attempting more and more automation of fossil cmd's dear to me.
At this point, I'd like to limit my code to parsing fossil.exe output until
I have more time to invest in the fossil.lib.
Using Windows 7 x86 admin console and fossil v1.28 [feef]:

For a purposely failed commit:
c:\tryfossil>fossil commit --user me -M commit.txt
nothing has changed; use --allow-empty to override

If I try to pipe that message to a file so I can read it in code it creates
an empty file and spits the error out as before.
c:\tryfossil>fossil commit --user me -M commit.txt > fossilout.txt
nothing has changed; use --allow-empty to override

I am looking into reading the stderr output but with no luck so far.
Anybody experience this?
Successful cmd's seem to fill fossilout.txt.

Thanks for fossil.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to