Mercurial > hg > config
comparison bin/syn.sh @ 824:16200adbd4f0
work around exit code for no changes
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Tue, 07 Feb 2017 10:28:00 -0800 |
| parents | 570ace9ed7c2 |
| children | 6fd2b3b4fb01 |
comparison
equal
deleted
inserted
replaced
| 823:3b767ffdd55e | 824:16200adbd4f0 |
|---|---|
| 3 set -e | 3 set -e |
| 4 | 4 |
| 5 cd | 5 cd |
| 6 | 6 |
| 7 silvermirror | 7 silvermirror |
| 8 hg sync | 8 hg pull |
| 9 | |
| 10 set +e | |
| 11 hg push # will exit 1 on no changes found | |
| 12 set -e | |
| 13 | |
| 9 ubuntu_updated.sh | 14 ubuntu_updated.sh |
| 10 ~/bin/mirror-hg http://k0s.org/hg | 15 ~/bin/mirror-hg http://k0s.org/hg |
| 11 | 16 |
