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

Re: svn switch to move between servers

From: <cmpilato_at_collab.net>
Date: 2002-09-17 19:05:27 CEST

Greg Stein <gstein@lyra.org> writes:

> On Tue, Sep 17, 2002 at 07:19:16AM -0500, Ben Collins-Sussman wrote:
> > Timothee Besset <ttimo@idsoftware.com> writes:
> >
> > > I encountered something, I don't know if it's intended behaviour or an
> > > oversight:
> >
> > Yes, it's intended behavior.
> >
> > Think about it: there's no way that 'svn switch' knows that the two
> > URLs are really the same repository, or same location. 'svn switch',
> It *could*, and we need it to.
> Think about it: if you switch to a *different* repository, then you could
> completely hose your WC (w.r.t repository) and commit total crap.
> The answer is to add in what we've talked about for a while: a canonical
> name for a repository. Since the repository itself passes that out, it will
> be the same no matter how you access the repos (via proxies, different
> hostnames, etc).

It'd be pretty easy to have svn_fs_create_berkeley generate a GUID and
store it as a property on revision 0 of the filesystem. Not that I'm
suggesting that as the way to do this, of course. Just a thought.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 17 19:06:54 2002

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.