Sorry, that line should have been
matching_filenames = [f for f in matching_filenames if not
os.path.islink(dirname+'/'+f)]

On Fri, Sep 3, 2010 at 8:15 PM, Wei-Yin Chen <wyc...@video.ee.ntu.edu.tw>wrote:

> This patch is for the following file.
>
> https://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svn_apply_autoprops.py
>
> Log message:
> Do not apply autoprops on symbolic links in svn_apply_autoprops.py.
>
>
Index: svn_apply_autoprops.py
===================================================================
--- svn_apply_autoprops.py
+++ svn_apply_autoprops.py
@@ -124,6 +124,7 @@
     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(dirname+'/'+f)]
     if not matching_filenames:
       continue
 

Reply via email to