view github-push.sh @ 1056:0c0be07b97cc

fix: error, and shorten some code
author sam <sam@basx.dev>
date Sat, 30 Mar 2024 22:21:47 +0700
parents 459fe2761311
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