Ev2 shims:
Ev2 shims:

First pass at the work necessary to deal with copyfrom_path values
that can be URLs. When we call svn_editor_copy(), we can only pass
relpath values.

This commit will map all incoming paths in the delta editor callbacks
into relpath values.

Note: strictly speaking, the copy source may not be within a working
copy, so it generally means an editor drive should be based on
repos_root so that all sources can be referenced. Thus, we map the
copyfrom paths a little bit different.
  (future commit to update svn_editor.h docco with this point)

Note: I'm not entirely sure that normal paths in an Ev1 drive are ever
URLs. This mapping may only apply to copyfrom sources.

* subversion/libsvn_delta/compat.c:
  (map_to_relpath, map_to_repos_relpath): new helpers to deal with
    potential URLs, and turn them into relpaths.
  (ev2_delete_entry): map the incoming PATH to a relpath
  (ev2_add_directory): map the incoming PATH and COPYFROM_PATH to
    relpaths. introduce a pseudo-scratch_pool and use it. reorder
    copyfrom handling to make CHANGE be the definitive values.
  (ev2_open_directory): map the incoming PATH to a relpath. introduce
    a pseudo-scratch_pool and use it.
  (ev2_absent_directory): map the incoming PATH to a relpath
  (ev2_add_file): map the incoming PATH and COPYFROM_PATH to relpaths.
    introduce a pseudo-scratch_pool and use it. reorder copyfrom
    handling to make CHANGE be the definitive values.
  (ev2_open_file): map the incoming PATH to a relpath. introduce a
    pseudo-scratch_pool and use it.
  (ev2_absent_file): map the incoming PATH to a relpath

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