Index: subversion/libsvn_client/patch.c
===================================================================
--- subversion/libsvn_client/patch.c	(revision 38923)
+++ subversion/libsvn_client/patch.c	(arbetskopia)
@@ -207,7 +207,7 @@
     svn_node_kind_t kind;
 
     SVN_ERR(svn_wc__maybe_get_entry(&entry, patch_b->ctx->wc_ctx,
-                                    mine_abspath, svn_node_unknown,
+                                    mine_abspath, svn_node_file,
                                     FALSE, FALSE,
                                     subpool, subpool));
 
@@ -380,7 +380,7 @@
         svn_error_t *err;
 
         SVN_ERR(svn_wc__maybe_get_entry(&entry, patch_b->ctx->wc_ctx,
-                                        mine_abspath, svn_node_none,
+                                        mine_abspath, svn_node_file,
                                         FALSE, FALSE,
                                         subpool, subpool));
 
@@ -469,7 +469,7 @@
           const svn_wc_entry_t *entry;
 
           SVN_ERR(svn_wc__maybe_get_entry(&entry, patch_b->ctx->wc_ctx,
-                                          mine_abspath, svn_node_dir,
+                                          mine_abspath, svn_node_file,
                                           FALSE, FALSE,
                                           subpool, subpool));
 
@@ -659,7 +659,7 @@
     case svn_node_none:
       SVN_ERR(svn_wc__maybe_get_entry(&entry, patch_b->ctx->wc_ctx,
                                       local_abspath,
-                                      svn_node_none,
+                                      svn_node_dir,
                                       FALSE, FALSE,
                                       subpool, subpool));
 
@@ -726,7 +726,7 @@
         {
           SVN_ERR(svn_wc__maybe_get_entry(&entry, patch_b->ctx->wc_ctx,
                                           local_abspath,
-                                          svn_node_file,
+                                          svn_node_dir,
                                           FALSE, FALSE,
                                           subpool, subpool));
 
@@ -2060,7 +2060,7 @@
       /* If the target is versioned, we should be able to get an entry. */
       SVN_ERR(svn_wc__maybe_get_entry(&entry, ctx->wc_ctx,
                                       new_target->abs_path,
-                                      svn_node_unknown,
+                                      svn_node_file,
                                       TRUE, FALSE,
                                       result_pool,
                                       scratch_pool));

