Fossil User Forum

No protocol or host name in ”email-url”
Login

No protocol or host name in ”email-url”

No protocol or host name in "email-url"

(1) By kak (kkugler) on 2020-03-03 03:17:01 [source]

I have a bunch of fossil repos and recently moved them to a new machine at work. The fossil email notifications still have the hostname of the old machine where they were hosted. I now need to go into each fossil repo and change the "email-url" to the new hostname, and Fossil recommends placing the hostname in the "email-url" parameter.

I was curious if there was a way to have fossil automatically insert the protocol (http(s)) and the hostname? So that instead of setting email-url to http://<hostname>/path/to/repo I could simply set it to /path/to/repo. Can that be done?