diff options
-rwxr-xr-x | commit.d/99push | 2 |
1 files changed, 2 insertions, 0 deletions
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 |