A follow-up to r16141 for issue 2404 to avoid a segfault in working copies created by 1.2.x and older series clients which have not had 'svn up' run on them to create the <entry repos="uri of server" ... /> attribute in .svn/entries files.  This change falls back to the previous (slightly buggy) behavior until a 'svn up' is performed.
A follow-up to r16141 for issue 2404 to avoid a segfault in working
copies created by 1.2.x and older series clients which have not had
'svn up' run on them to create the <entry repos="uri of server" ... />
attribute in .svn/entries files.  This change falls back to the
previous (slightly buggy) behavior until a 'svn up' is performed.

  
* subversion/libsvn_wc/copy.c
  (svn_wc_copy2): Check both src_entry->repos and dst_entry->repos for
   non NULL-ness before using their values to confirm that both copy
   source and destination reside in the same repository.


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

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