Fossil

View Ticket
Login
Ticket Hash: fd02d0b67b935a60e7ce8548e7c0b383cfd24f9d
Title: "Raw TH1 commands" work, while "transfer" commands don't
Status: Closed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Not_A_Bug
Last Modified: 2020-05-06 03:55:29
5.91 years ago
Created: 2020-05-05 13:35:25
5.91 years ago
Version Found In: 2.11
User Comments:
ron added on 2020-05-05 13:35:25:

In this forum post I detail my issues getting "transfer" scripts to work.

The short of it is, in my current setup:

  • If I enter the TH1 code in the "Raw TH1 commands" my script executes, but
  • If I have that same exact code in the transfer (e.g. commit or push) boxes, the script doesn't execute

Note that I do have the 'tcl' and 'th1-hooks' enabled in the settings.

This is a problem for me, because I want a bash script to execute and update a web site every time someone commits a change, and I don't want to give access to the web site itself to the developers.


ron added on 2020-05-06 03:55:29:

Figured out the problem: you need the & after the tclInvoke command or it never returns to Fossil.