[[[ Since Version 1.1 Subversion can handle symlink by itself. Therefore this functionality is not required in asvn and is now made optional.
* contrib/client-side/asvn ($SYM_PROP): unset variable (updatedirsymlinks): function is only performed, if variable $SYM_PROP is defined patch by joerg.steffens < at > dass-it.de ]]]
Index: contrib/client-side/asvn =================================================================== --- contrib/client-side/asvn (Revision 941370) +++ contrib/client-side/asvn (Arbeitskopie) @@ -45,7 +45,9 @@ SVN=/usr/bin/svn ACTION="" DEV_PROP="dir:devices" -SYM_PROP="dir:symlinks" +# symlinks are handled by subversion itself since Subversion 1.1 +# if SYM_PROP is not defined, no special symlink handling is done by asvn +#SYM_PROP="dir:symlinks" FILE_PROP="file:permissions" TMPFILE=/tmp/asvn.tmp.$$ TMPFILE1=/tmp/asvn.tmp1.$$ @@ -221,6 +241,12 @@ function updatedirsymlinks() { + if [ -z "$SYM_PROP" ]; then + # SYM_PROP is not defined + # this indicates, that asvn should not handle symlinks + return + fi + CHECKIN=false if [ "$1" = "-ci" ] then @@ -297,7 +323,7 @@ [ -z "$info" ] && continue file="`expr \"$info\" : \"file='\(.*\)' dest\"`" dest="`expr \"$info\" : \".*' dest='\(.*\)'$\"`" - + # bug? missing ' above? symlink handling not required for modern svn if [ -L "$dir/$file" ] then [ "`find \"$dir/$file\" -printf '%l'`" = "$dest" ] && continue