Stephan Beal <[email protected]> wrote:
>
> Theoretically (i haven't tried it) you could use a workaround like this:
> 
> a) Put your commit in a file, e.g. msg.txt.
> b) type:
>   EDITOR="cat msg.txt" fossil commit foo.c
> 
> whether or not that works depends largely on how the EDITOR arg is passed on
> to the system (as a single arg via execvp() and friends or as part of a
> concated string passed to system()).
> 

Yes, there again, this is a work around that will not work on Windows directly. 
I'm sure I could come up with a hack to make it work on windows along those 
lines, but we shouldn't have to.

Also, that may fail if you have to answer any questions like a password prompt 
or any other prompt that may appear.

We should do like other SCM systems and store the failed commit message, then 
provide an option to read the commit message from the file system.

Jeremy

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to