view github-push.sh @ 1061:71a23166ccd6

fix: bad syncing mechanism, much better now (I think)
author sam <sam@basx.dev>
date Mon, 01 Apr 2024 00:30:29 +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