From 91aa708518cf3f269d60c5e694201b1e42945a88 Mon Sep 17 00:00:00 2001 From: lovelywcm Date: Sun, 15 Mar 2009 03:00:18 +0000 Subject: [PATCH] c2NyaXB0OiBtaW5vciBlZGl0Cg== --- sendGFWList.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sendGFWList.sh b/sendGFWList.sh index d6e8335..00a58e7 100755 --- a/sendGFWList.sh +++ b/sendGFWList.sh @@ -104,5 +104,9 @@ base64 list.txt > gfwlist.txt && # "svn ci" and "git commit" are atomic operations svn ci gfwlist.txt -m $( echo "$*" | base64 -w 0) || # "svn ci" may be failed because of connection problems. - git reset HEAD^; -) + git reset HEAD^ 1> /dev/null; +) && + +# BASE++, HEAD++, if committed. +svn update 1> /dev/null; +