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

Re: Switch, DNS, repos roots, and busted working copies

From: Alan Barrett <apb_at_cequrux.com>
Date: 2005-12-06 07:50:24 CET

On Mon, 05 Dec 2005, Garrett Rooney wrote:
> Well, it turns out that with suitably configured DNS (a repos that is
> accessible via two separate DNS entries) and a user equiped with svn
> switch, you can actually get a working copy wiht disjoint repos and
> url entries. Just check out via one DNS entry and then switch a
> subdirectory to the other.

You get a similar problem when you check out a working copy from one
URL, and then try to "svn copy URL LOCALFILE" using an URL that refers
to the same repository by a different name. (At least, I think that's
what I was doing when I encountered a problem.)

> I've looked into the problem a little, but I'm really not sure what
> the correct solution is. Should we disallow such things?

Just figure out the UUIDs for both ways of accessing the repository, and
allow the operation if the UUIDs are identical. People who have two
or more different repositories with the same UUID, and who mix up the
different repositories in this way, will lose.

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 6 07:51:36 2005

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.