Install Mercurial changegroup hooks to trigger post events
Review Request #10041 — Created June 26, 2018 and submitted — Latest diff uploaded
RB Gateway is now capable of installing post-receive hooks in a
Mercurial repository that will executerb-gateway trigger-webhooks
with the appropriate arguments to cause apush
event to occur.Some of the integration testing infrastructure has been refactored to be
SCM-neutral. Additionally, a bug was fixed inhelpers.CreateTestRepo
that always recorded the repository as a Git repository.
- Ran unit tests.
- Ran integration tests.
- Ran
go fmt ./...
.
Gopkg.lock |
---|
Gopkg.toml |
---|
Makefile |
---|
helpers/config.go |
---|
integration_tests/common.go |
---|
integration_tests/git_hook_test.go |
---|
integration_tests/hg_hook_test.go |
---|
repositories/hg.go |
---|
repositories/hg_test.go |
---|
repositories/util.go |
---|