[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Issue 1313 - svn copy URL1 URL2 fails silently

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-07-09 21:18:46 CEST

Philip Martin wrote:

>It just works if the URLs refer to the same repository, no need to
>check UUIDs. However, if the URLs refer to separate repositories then
>the the current code
>
> common_url = get_longest_ancestor (source_url, target_url)
> open_ra_session (common_url)
>
>is going to generate common_url that does not refer to a repository,
>that's going to cause an error, isn't it? If the error really must be
>"improved", then perhaps the solution is to check paths in the
>repository, rather than UUIDs.
>
>
"It ain't necessarily so."

It's entirely possible to have two completely different URLs refer to
the same repository. Through symlinks in the filesystem, interesting
Apache configuration, etc. etc. So to make sure, you have to open both
URLs and check the UUIDs.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 9 21:21:52 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.