Remigiusz Modrzejewski wrote:
>
> So, is it finally possible to script pre-/post- commit hooks?
> 

More or less:

        
http://www.fossil-scm.org/index.html/artifact?ci=trunk&filename=src/xfer.c&l
n=1201-1205

The key is that these are actually post-transfer scripts.  It is up to the
called script to determine how many commits, if any, have been done since
it was last called.  I have a working proof-of-concept Tcl script on a
private repository that does this and sends mail via SMTP if a commit is
detected.  The real expressive power here comes from having Tcl enabled at
compile-time (and via the runtime setting) and being able to seamlessly
invoke it from TH1.

--
Joe Mistachkin

_______________________________________________
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