[[[
* subversion/libsvn_client/patch.c
  (apply_patches): don't try to delete empty dirs for dry-runs.
]]]
Index: subversion/libsvn_client/patch.c
===================================================================
--- subversion/libsvn_client/patch.c	(Revision 1230694)
+++ subversion/libsvn_client/patch.c	(Arbeitskopie)
@@ -2920,8 +2920,9 @@
     }
   while (patch);
 
-  /* Delete directories which are empty after patching, if any. */
-  SVN_ERR(delete_empty_dirs(targets_info, ctx, dry_run, scratch_pool));
+  if (!dry_run)
+    /* Delete directories which are empty after patching, if any. */
+    SVN_ERR(delete_empty_dirs(targets_info, ctx, dry_run, scratch_pool));
 
   SVN_ERR(svn_diff_close_patch_file(patch_file, iterpool));
   svn_pool_destroy(iterpool);
