+# anonsvn.kde.org has few IP addresses which causes
+# that svn connects to two different servers which may
+# not be in sync. That causes problems with missing revisions.
+# Resolve to one IP and use that in both svn arguments.
+
+ANONSVN=$(host anonsvn.kde.org | awk ' { print $4; exit; } ' 2> /dev/null)
+[ -z "$ANONSVN" ] && ANONSVN="anonsvn.kde.org"
+