1. Steve Losh
  2. vermilion


vermilion / cantspell.sh

#!/usr/bin/env bash

# From http://morgangoose.com/blog/2010/09/29/github-and-bitbucket-hooks/

# This script takes in the args that a hg push is given and checks for the paths
# that I've defined in my hg repos for either a push to bitbucket or github,
# and then does the other, so that regardless of which of these sites I push to
# the other also get pushed to.

#post-push to cantspell
if [[ $HG_ARGS = "push" ]]
    hg push cantspell