Use SVN_ERR() instead of manually catching and returning an error.  This prevents two kinds of badness: an error leak and a segfault.
Use SVN_ERR() instead of manually catching and returning an error.  This
prevents two kinds of badness: an error leak and a segfault.

Patch by: alan.wood@clear.net.nz
          me

* subversion/libsvn_client/copy.c
  (repos_to_wc_copy_single): Use SVN_ERR() to catch the error returned from
    svn_wc_add_repos_file2().


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

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