Index: subversion/libsvn_client/export.c
===================================================================
--- subversion/libsvn_client/export.c	(revision 10174)
+++ subversion/libsvn_client/export.c	(working copy)
@@ -124,6 +124,12 @@
       return SVN_NO_ERROR;
     }
 
+  /* If the revision is WORKING, then don't export directories that
+     haven't been committed yet. */
+  if (revision->kind != svn_opt_revision_working &&
+      entry->schedule != svn_wc_schedule_add)
+    return SVN_NO_ERROR;
+
   /* Try to make the new directory.  If this fails because the
      directory already exists, check our FORCE flag to see if we
      care. */
@@ -200,8 +206,10 @@
               svn_error_clear (err);
             }
           
-          /* don't copy it if it isn't versioned. */
-          if (! entry)
+          /* Don't copy it if it isn't versioned, or if the entry hasn't been
+             committed unless revision is WORKING. */
+          if (! entry || (revision->kind != svn_opt_revision_working &&
+                          entry->schedule != svn_wc_schedule_add))
             continue;
     
           if (revision->kind != svn_opt_revision_working)
