Mercurial Hosting > hghosting
annotate update.sh @ 14:49461857ed79
fix log name for rm
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 28 Jul 2022 16:28:27 +0300 |
parents | 94b5c7b54978 |
children |
rev | line source |
---|---|
0 | 1 #!/bin/bash -e |
2 | |
3 . common.sh; | |
4 | |
5 echo Updating hg | |
6 /usr/local/bin/hg pull -u | |
7 | |
8 ./stop.sh | |
9 | |
12
c560b4e2f056
subdir for repos logs
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
0
diff
changeset
|
10 mkdir -p logs/repos |
13 | 11 rm -f logs/*.log |
14 | 12 rm -f logs/repos/*_log |
0 | 13 hg identify >logs/changeset.txt |
14 | |
15 ${ROOTPWD}/luan.sh update_repositories.luan | |
16 | |
17 ./start.sh |