Create PushPayloads with Mercurial
Review Request #10021 — Created June 14, 2018 and submitted
The Mercurial SCM implementation now supports parsing the environment
created by achangegroupevent (which occurs when the repository
receives a set of commits) and creating aPushPayload. This will allow
us to install a Mercurial hook that can hit Review Board to close review
requests mentioned in commits pushed to a Mercurial repository.The Git implementation is currently a
panic()since it cannot
be triggered by anything external. Git support is coming in a future
patch.
Ran
go fmt ./....
Rango test ./....
- Description:
-
The Mercurial SCM implementation now supports parsing the environment
created by a changegroupevent (which occurs when the repositoryreceives a set of commits) and creating a PushPayload. This will allowus to install a Mercurial hook that can hit Review Board to close review requests mentioend in commits pushed to a Mercurial repository. + + The Git implementation is currently a
panic()since it cannot+ be triggered by anything external. Git support is coming in a future + patch.
- Description:
-
The Mercurial SCM implementation now supports parsing the environment
created by a changegroupevent (which occurs when the repositoryreceives a set of commits) and creating a PushPayload. This will allowus to install a Mercurial hook that can hit Review Board to close review ~ requests mentioend in commits pushed to a Mercurial repository. ~ requests mentioned in commits pushed to a Mercurial repository. The Git implementation is currently a
panic()since it cannotbe triggered by anything external. Git support is coming in a future patch.