On Wed, May 13, 2015 at 11:45 AM, Ramon Ribó <ram...@compassis.com> wrote:

> A reasonable solution could be a pre-commit hook, where the script in TH1
> or TCL had access to the branch name of the commit and other details. As a
> result, the hook could accept the commit, raise a warning, ask for
> confirmation or deny the commit.
>

Looking at Fossil [6c40678e91] 2015-03-14 13:20:34, I didn't find any
pre-commit hook. In the Admin pages, I have found only 5 hooks: "Change" on
the "tktsetup" page and 4 others on the "xfersetup" page. This implies to
me that, in particular, the (post) commit hook is only run during a
sync/pull/push operation. Also, it is not clear which side runs the hook.
_______________________________________________
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