# HG changeset patch # User ymh # Date 1349442055 -7200 # Node ID 656e95e8cbc18ac82283e401fa5a1ac2f15d8142 # Parent 81cabbc90ea5c42d1f44f9f1b80968f62d661fe2 sync script diff -r 81cabbc90ea5 -r 656e95e8cbc1 .project --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.project Fri Oct 05 15:00:55 2012 +0200 @@ -0,0 +1,11 @@ + + + bobines2012 + + + + + + + + diff -r 81cabbc90ea5 -r 656e95e8cbc1 sbin/sync/sync_bobines --- a/sbin/sync/sync_bobines Fri Oct 05 14:59:45 2012 +0200 +++ b/sbin/sync/sync_bobines Fri Oct 05 15:00:55 2012 +0200 @@ -1,1 +1,22 @@ #!/usr/bin/env bash +set -e +if [ -d ~/tmp/bobines2012_V$1 ]; then + rm -fr ~/tmp/bobines2012_V$1; +fi + +hg archive -r V$1 ~/tmp/bobines2012_V$1 + +#text2unix ~/tmp/bobines2012_V$1 + +if [ -d ~/tmp/bobines2012_V$1 ]; then + cat <