commit 2c08c332c85f2a412ba0aa49db549e617277f5e1
parent 506ce1c68693800682839913de4a1e441bbaed70
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Mon, 26 Sep 2016 23:53:53 +0200
no URLfile, now that base64
Diffstat:
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/svn-poll b/svn-poll
@@ -13,14 +13,10 @@ BASE=$(base64 <<<"$URL")
DIR="$HOME/temp/svn-poll/$BASE"
FILE="$DIR/rev"
MUTEFILE="$DIR/muted"
-URLFILE="$DIR/url"
RETRIES="$DIR/retries"
mkdir -p "$DIR"
-# just to remember
-echo "$URL" > "$URLFILE"
-
LATEST="$(svn info "$URL" | grep Revision | cut -d' ' -f2)"
# http://stackoverflow.com/a/806923/414272
diff --git a/svn-poll-init b/svn-poll-init
@@ -7,7 +7,6 @@ URL="$1"
BASE=$(base64 <<<"$URL")
DIR="$HOME/temp/svn-poll/$BASE"
FILE="$DIR/rev"
-URLFILE="$DIR/url"
RETRIES="$DIR/retries"
mkdir -p "$DIR"
@@ -15,7 +14,5 @@ mkdir -p "$DIR"
LATEST="$(svn info "$URL" | grep Revision | cut -d' ' -f2)"
echo "$LATEST" > "$FILE"
-# just for future reference
-echo "$URL" > "$URLFILE"
echo 0 > "$RETRIES"