Fix working copy corruption which happens when copying a file into a directory that exists in the entries file of its parent, but is not physically present on disk. This can happen when users remove a directory from the working copy without telling Subversion about it.
Fix working copy corruption which happens when copying a file
into a directory that exists in the entries file of its parent,
but is not physically present on disk. This can happen when
users remove a directory from the working copy without telling
Subversion about it.

The case where the destination is a file was already covered by
the existing code. This commit extends the check to consider
directories, too.

See this thread for details:
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=141707
Date: Sun, 6 Jul 2008 00:39:43 +0800
From: "Rui, Guo" <timmyguo@mail.ustc.edu.cn>
To: subversion development <dev@subversion.tigris.org>
Message-ID: <20080705163943.GD8838@Behemoth.ustc.edu.cn>

* subversion/libsvn_wc/copy.c
  (copy_file_administratively): When checking whether the destination
   already exists, dst_basename may be a directory. Catch that case, too.

Approved by: stsp

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion