or Create a profile
11 Sep, 2018 08:04 AM
When I create a new repository, I have to change always post-commit hook because we always add some lines to the file. I would like to know where is the post-comit template for modifiing and so, when we create a new repository,that it has the lines integrated.
Thanks in advance.
on 11 Sep, 2018 08:11 AM
You can find them here: https://code.rhodecode.com/rhodecode-vcsserver/files/c2efa29debcc6e...
in your installed vcsserver you can find the hook_templates directory.
Located in ~/.rccontrol/vcsserver-1/profile/...
Those templates are used for installing, just be aware if you ugprade they will be rewritten to the original state.
on 11 Sep, 2018 08:20 AM
Thank you very much.
I check them.
on 11 Sep, 2018 08:53 AM
Yes, I can see hook's templates.
post-commit and pre-commit.
Where is pre-revprop-change template? or post-lock?
I would like to modify them too.
I can't find them.
Thank you in advance.
on 11 Sep, 2018 09:12 AM
Those come from SVN itself, we don't modify those. Please check SVN documentation for possible options.
However you could use the eventing system, and use webhook on repository_creation action. This way with a small service that listens for those webhooks you could automate all hooks modification
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the RhodeCode staff to resolve this discussion.
This discussion is private.
Only RhodeCode support staff and members of
can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.