From 3f83f64594e1d89bb774a7f2194448225bea8fea Mon Sep 17 00:00:00 2001 From: kes31 Date: Tue, 1 Oct 2013 08:05:43 +0200 Subject: Autopush support for mercurial added. The commit script was edited, for using the default branch of mercurial to do autopush. --- commit.d/99push | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commit.d/99push b/commit.d/99push index 9a5d81e..5aa8d21 100755 --- a/commit.d/99push +++ b/commit.d/99push @@ -2,6 +2,8 @@ if [ -n "$PUSH_REMOTE" ]; then if [ "$VCS" = git ] && [ -d .git ]; then git push "$PUSH_REMOTE" master || true + elif [ "$VCS" = hg ] && [ -d .hg ]; then + hg push "$PUSH_REMOTE" || true else echo "PUSH_REMOTE not yet supported for $VCS" >&2 fi -- cgit v1.2.3