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:25:21 UTC
svn commit: r1073340 -
/subversion/trunk/contrib/client-side/svn_apply_autoprops.py
Author: stsp
Date: Tue Feb 22 14:25:21 2011
New Revision: 1073340
URL: http://svn.apache.org/viewvc?rev=1073340&view=rev
Log:
* contrib/client-side/svn_apply_autoprops.py.
(filter_walk): Just print a warning and continue if 'svn propset' failed,
instead of erroring out. This can happen in 1.7 working copies that
contain unversioned files. While here, drop double-quotes around the
command printed in the error message since it's already got brackets
because we're printing a python list.
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=1073340&r1=1073339&r2=1073340&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:25:21 2011
@@ -146,9 +146,8 @@ def filter_walk(autoprop_lines, dirname,
status = os.spawnvp(os.P_WAIT, 'svn', command)
if status:
- print('Command "%s" failed with exit status %s' \
+ print('Command %s failed with exit status %s' \
% (command, status))
- sys.exit(1)
def main():
try: