I'm aware of this answer and maybe there is no solution to my problem in the end anyway. However, what I want to achieve is this:
Whenever a changeset for a repo on my server is incoming, I want to perform some custom tasks. I added a hooks
section to hgweb.config
:
[hooks]
changegroup = printenv > /tmp/test/env.txt
From the info that printenv
gives me I see that I'm able to extract my unique identifier for the repo, but not the name of project! I do need the name of the repo's root folder for an API call. Is there any way I can get this information?