You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/09/29 14:36:45 UTC
svn commit: r1002591 -
/subversion/trunk/contrib/client-side/svn_apply_autoprops.py
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 <wy...@video.ee.ntu.edu.tw>
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