Index: subversion/libsvn_client/add.c =================================================================== --- subversion/libsvn_client/add.c (revision 14667) +++ subversion/libsvn_client/add.c (working copy) @@ -276,6 +276,7 @@ apr_int32_t flags = APR_FINFO_TYPE | APR_FINFO_NAME; svn_wc_adm_access_t *dir_access; apr_array_header_t *ignores; + const svn_string_t *value; /* Check cancellation; note that this catches recursive calls too. */ if (ctx->cancel_func) @@ -294,6 +295,12 @@ SVN_ERR (svn_wc_adm_retrieve (&dir_access, adm_access, dirname, pool)); SVN_ERR (svn_wc_get_default_ignores (&ignores, ctx->config, pool)); + /* Add local svn:ignore globs to default ignores */ + SVN_ERR (svn_wc_prop_get (&value, SVN_PROP_IGNORE, + svn_wc_adm_access_path (adm_access), adm_access, + pool)); + if (value != NULL) + svn_cstring_split_append (ignores, value->data, "\n\r", FALSE, pool); /* Create a subpool for iterative memory control. */ subpool = svn_pool_create (pool);