annotate bin/syn.sh @ 904:30006a5583fa

fix hgrc.py for python3
author Jeff Hammel <k0scist@gmail.com>
date Thu, 11 Apr 2024 08:23:38 -0700
parents a5eae2810f23
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
822
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/bin/bash
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2
851
a5eae2810f23 [syn] +x
Jeff Hammel <k0scist@gmail.com>
parents: 845
diff changeset
3 set -ex
822
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 cd
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6
845
70ae14b6be51 [sync] ~/k0s is no longer in PATH as it corrupts PYTHONPATH
Jeff Hammel <k0scist@gmail.com>
parents: 834
diff changeset
7 ~/k0s/bin/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
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14 ubuntu_updated.sh
845
70ae14b6be51 [sync] ~/k0s is no longer in PATH as it corrupts PYTHONPATH
Jeff Hammel <k0scist@gmail.com>
parents: 834
diff changeset
15 ~/k0s/bin/mirror-hg http://k0s.org/hg
822
570ace9ed7c2 make my life a little easier
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16