Mercurial > hg > config
annotate bin/syn.sh @ 834:6fd2b3b4fb01
dont presuppose PATH
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 20 Feb 2017 20:18:42 -0800 |
parents | 16200adbd4f0 |
children | 70ae14b6be51 |
rev | line source |
---|---|
822 | 1 #!/bin/bash |
2 | |
3 set -e | |
4 | |
5 cd | |
6 | |
7 silvermirror | |
824
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
8 hg pull |
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
9 |
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
10 set +e |
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
11 hg push # will exit 1 on no changes found |
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
12 set -e |
16200adbd4f0
work around exit code for no changes
Jeff Hammel <k0scist@gmail.com>
parents:
822
diff
changeset
|
13 |
822 | 14 ubuntu_updated.sh |
834 | 15 mirror-hg http://k0s.org/hg |
822 | 16 |