Mercurial hook that operates like 'changegroup', but only on push?
问题 We've built a changeset propagation mechanism, but it relies on bundling and unbundling the new changesets. If we were to use the changegroup hook, then it would cause cyclic behaviors, because the hook is run during a pull, push, or unbundle. What we need is for the sync to be done after a commit, which the commit hook works perfectly for, but also after a push . Note, the post-push hook is not the answer, as it is run when you push from that repository to another. This scenario calls,