view bin/syn.sh @ 869:ca1fb54c03ee

https://coderwall.com/p/7aymfa/please-oh-please-use-git-pull-rebase
author Jeff Hammel <k0scist@gmail.com>
date Mon, 10 Sep 2018 10:23:50 -0700
parents a5eae2810f23
children
line wrap: on
line source

#!/bin/bash

set -ex

cd

~/k0s/bin/silvermirror
hg pull

set +e
hg push  # will exit 1 on no changes found
set -e

ubuntu_updated.sh
~/k0s/bin/mirror-hg http://k0s.org/hg