view github-push.sh @ 969:2fc5723a5635

fix: classic, off-by-one XD
author sam <sam@basx.dev>
date Wed, 03 Apr 2024 19:49:42 +0700
parents 6baa9d0a354e
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