+# 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.
+if [[ $HG_ARGS = "push" ]]