We have created a mechanism for distributing change sets, but it relies on combining and sharing new sets of changes. If we used the changegroup hook, this would cause cyclic behavior, because the hook is triggered during pull, push or unundundle , We need synchronization to be done after the commit, which is great for the commit host, but also after push .
Please note that the post-push hook is not the answer, as it starts when you click from another repository from this repository. This script calls mainly for the special behavior of changegroup , it only works when new changes are the result of pushing.
Is there any hook that works this way?
source share