Commits

Steve Losh  committed 65ed431

Add the mirror script.

  • Participants
  • Parent commits d7f2e09

Comments (0)

Files changed (1)

File 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" ]]
+then
+    hg push cantspell
+fi