Fix bug importing a directory we don't have permission to read, reported  by Dag-Erling Smorgrav <des@ofug.org>.
Fix bug importing a directory we don't have permission to read, reported 
by Dag-Erling Smorgrav <des@ofug.org>.

* subversion/libsvn_client/commit.c
  (import_dir): return an error if we fail to open the directory.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@841418 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion