Index: subversion/libsvn_client/add.c =================================================================== --- subversion/libsvn_client/add.c (revision 17065) +++ subversion/libsvn_client/add.c (working copy) @@ -326,10 +326,6 @@ * add of a directory with lots of files. */ if (ctx->cancel_func) SVN_ERR (ctx->cancel_func (ctx->cancel_baton)); - - /* Skip over SVN admin directories. */ - if (svn_wc_is_adm_dir (this_entry.name, subpool)) - continue; /* Skip entries for this dir and its parent. */ if (this_entry.name[0] == '.' @@ -337,6 +333,10 @@ || (this_entry.name[1] == '.' && this_entry.name[2] == '\0'))) continue; + /* Skip over SVN admin directories. */ + if (svn_wc_is_adm_dir (this_entry.name, subpool)) + continue; + if ((!no_ignore) && svn_cstring_match_glob_list (this_entry.name, ignores)) continue;