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

Re: svn switch and URL:s with colons

From: Daniel Berlin <dberlin_at_spork.dreamhost.com>
Date: 2006-06-29 22:41:26 CEST

On Thu, 29 Jun 2006, Fredrik Arnerup wrote:

> Hi
>
> In 1.3.1, svn switch does not seem to consider "svn://server:/foobar"
> and "svn://server/foobar" to be the same repo.
>
>> svn switch svn://server:/foobar
> svn: 'svn://server:/foobar'
> is not the same repository as
> 'svn://server/foobar'
>
> Can anyone confirm this? Should I file a bug report?

This is actually semi-deliberate. There is unfortunately no canonical url
format for things like this. As a result, we more or less strcmp the urls
(it's slightly more advanced than this, but not much).
We certainly don't try to separate out the port or username prefixs that
may appear in the url, before determining whether the switch is allowed.

Whether we should or not, i dunno.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 30 18:02:19 2006

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