Steps to reproduce:
$ svn co http://repo1 repo1
$ svn co http://repo2 repo2
$ svn cp repo1/foo repo2/
$ # Wow! It works!
$ cd repo2
$ svn commit -m 'WoW!'
Adding foo
Transmitting file data .......svn: Commit failed (details follow):
svn: Source url 'foo' is from different
repository
svn: Your commit message was left in a temporary file:
svn: '/home/enrico/repo2/svn-commit.2.tmp'
These steps come from the original Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327281
Expected behavior:
As cross-repository copy currently isn't supported, attempts to copy resources
between repositories should fail immediately, rather than waiting until the
commit attempt, contacting the repository, having libsvn_repos:commit.c reject
the commit, and propogating the error all the way back to the client.
This issue was discussed on the Subversion dev mailing list at
<http://svn.haxx.se/dev/archive-2005-09/0298.shtml>.
Though DAV absolutely doesn't allow cross-repository copy, somewhere down the
road we might be able to work out something for copying changes without history.
Copying changes with history might be possible for RA local and svn, but this
would result in an inconsistency with RA DAV.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327281