Index: subversion/libsvn_client/add.c =================================================================== --- subversion/libsvn_client/add.c (revision 18468) +++ subversion/libsvn_client/add.c (working copy) @@ -1,4 +1,4 @@ -/* + /* * add.c: wrappers around wc add/mkdir functionality. * * ==================================================================== @@ -182,6 +182,10 @@ svn_string_create (autoprops.mimetype, pool)); } + /* Don't automatically set the svn:executable property on added items + * on OS400. While OS400 supports the executable permission its use is + * inconsistent at best. */ +#ifndef AS400 /* if executable has not been set check the file */ if (! autoprops.have_executable) { @@ -192,6 +196,7 @@ strlen (SVN_PROP_EXECUTABLE), svn_string_create ("", pool)); } +#endif *mimetype = autoprops.mimetype; return SVN_NO_ERROR;