view github-push.sh @ 928:6baa9d0a354e

some cleanup
author sam <sam@basx.dev>
date Thu, 21 Mar 2024 23:05:17 +0700
parents
children
line wrap: on
line source

#!/bin/bash


# prevent endless recursion
if [[ "$HG_ARGS" == *"github-mirror"* ]]; then
    exit 0
fi

hg bookmark hg
hg push github-mirror