Author: stsp
Date: Wed Sep 29 12:36:45 2010
New Revision: 1002591

URL: http://svn.apache.org/viewvc?rev=1002591&view=rev
Log:
* contrib/client-side/svn_apply_autoprops.py
  (filter_walk): Skip symlinks.

Patch by: Wei-Yin Chen <[email protected]>

Modified:
    subversion/trunk/contrib/client-side/svn_apply_autoprops.py

Modified: subversion/trunk/contrib/client-side/svn_apply_autoprops.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/contrib/client-side/svn_apply_autoprops.py?rev=1002591&r1=1002590&r2=1002591&view=diff
==============================================================================
--- subversion/trunk/contrib/client-side/svn_apply_autoprops.py (original)
+++ subversion/trunk/contrib/client-side/svn_apply_autoprops.py Wed Sep 29 
12:36:45 2010
@@ -124,6 +124,8 @@ def filter_walk(autoprop_lines, dirname,
     prop_list = autoprops_line[1]
 
     matching_filenames = fnmatch.filter(filenames, fnmatch_str)
+    matching_filenames = [f for f in matching_filenames \
+      if not os.path.islink(os.path.join(dirname, f))]
     if not matching_filenames:
       continue
 


Reply via email to