Mercurial outgoing Hook
Posted
by Tom Bell
on Stack Overflow
See other posts from Stack Overflow
or by Tom Bell
Published on 2010-03-30T20:29:41Z
Indexed on
2010/03/30
20:33 UTC
Read the original article
Hit count: 473
I'm looking to create a Mercurial hook that pushes to a backup remote repository when I push to a local repository. I thought I could hook the 'outgoing' hook, but this creates a infinite loop that isn't pretty. So is there like a post-push hook, or would it be best to have the repository I am pushing to have an 'incoming' hook to push the to the remote backup instead?
© Stack Overflow or respective owner