[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: mark benedetto king <bking_at_inquira.com>
Date: 2002-09-17 17:04:23 CEST

On Tue, Sep 17, 2002 at 02:39:46PM +0200, Sander Striker wrote:
> > From: sussman@collab.net [mailto:sussman@collab.net]
> > Sent: 17 September 2002 14:19
>
> > 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',
> > therefore, operates exactly the same way as 'svn update', 'svn merge',
> > and 'svn diff': it compares two URLs, and applies the differences to
> > your working copy.
> >
> > However, maybe the user might be able to give a hint here. Maybe some
> > optional switch could be used to mean "just rewrite all of the urls
> > within .svn/entries files, and do nothing else." What do others
> > think?
>
> +1. By using the --force flag?
>

+1 on the option. Not so sure about using "--force" to do it, especially
since we might want --force for something else, later.

What about "--relocate"?

One use case that I've already run into for this is that one
of the places I work has a broken proxy, so I use

http://svn.collab.net:81/repos/svn/trunk

But another place I work has a working proxy, but doesn't allow
outbound traffic on port 81, so I need to use

http://svn.collab.net/repos/svn/trunk

--ben

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

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