# HG changeset patch # User Jeff Hammel # Date 1486492080 28800 # Node ID 16200adbd4f01c645aaa4f1dcf8a675118407c15 # Parent 3b767ffdd55edc7660b45db14f9bbe6eb0a384ee work around exit code for no changes diff -r 3b767ffdd55e -r 16200adbd4f0 bin/syn.sh --- a/bin/syn.sh Mon Feb 06 09:30:11 2017 -0800 +++ b/bin/syn.sh Tue Feb 07 10:28:00 2017 -0800 @@ -5,7 +5,12 @@ cd silvermirror -hg sync +hg pull + +set +e +hg push # will exit 1 on no changes found +set -e + ubuntu_updated.sh ~/bin/mirror-hg http://k0s.org/hg