Make svn_repos_create() clean up after itself if it can't make the repository. Currently, it will leave a broken repository directory behind.  If say the user mistyped the filesystem type and then fixed it and ran the command again then they'll get another error saying that the repo already exists.  This is clumsy.  
Make svn_repos_create() clean up after itself if it can't make the repository.
Currently, it will leave a broken repository directory behind.  If say the
user mistyped the filesystem type and then fixed it and ran the command again
then they'll get another error saying that the repo already exists.  This is
clumsy.  

We can't just look to see if the filesystem type is supported because we can
only infer that by trying to load the library.  So we simply clean up the repo
if we fail.

* subversion/libsvn_repos/repos.c
  (svn_repos_create): If svn_fs_create() fails then remove the repo directory
    we made.



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

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