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 2011/02/22 15:01:50 UTC
svn commit: r1073328 -
/subversion/trunk/contrib/client-side/svn_apply_autoprops.py
Author: stsp
Date: Tue Feb 22 14:01:50 2011
New Revision: 1073328
URL: http://svn.apache.org/viewvc?rev=1073328&view=rev
Log:
* contrib/client-side/svn_apply_autoprops.py.
(SVN_WC_ADM_DIR_NAME): Remove.
(filter_walk): For interop with Subversion 1.7, don't check for a .svn
directory in every subdirectory.
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=1073328&r1=1073327&r2=1073328&view=diff
==============================================================================
--- subversion/trunk/contrib/client-side/svn_apply_autoprops.py (original)
+++ subversion/trunk/contrib/client-side/svn_apply_autoprops.py Tue Feb 22 14:01:50 2011
@@ -33,9 +33,6 @@ import sys
# The default path to the Subversion configuration file.
SVN_CONFIG_FILENAME = os.path.expandvars('$HOME/.subversion/config')
-# The name of Subversion's private directory in working copies.
-SVN_WC_ADM_DIR_NAME = '.svn'
-
# The name this script was invoked as.
PROGNAME = os.path.basename(sys.argv[0])
@@ -120,15 +117,6 @@ def process_autoprop_lines(lines):
return result
def filter_walk(autoprop_lines, dirname, filenames):
- # Do no descend into directories that do not have a .svn directory.
- try:
- filenames.remove(SVN_WC_ADM_DIR_NAME)
- except ValueError:
- filenames = []
- print("Will not process files in '%s' because it does not have a '%s' " \
- "directory." \
- % (dirname, SVN_WC_ADM_DIR_NAME))
- return
filenames.sort()