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

Re: switch segfaults

From: Fabien Renaud <fafounet_at_gmail.com>
Date: Tue, 6 Jan 2015 18:11:51 +0100

I was trying to compile subversion trunk to check if it was reproducible in it.
I thus updated my (pretty up-to-date) system and even though
subversion was not updated there is no more segfault.

I will investigate what exactly solved the problem and report to the
debian bugtracker.

Julian, thanks the for the information on the correct command.

Fabien

On Tue, Jan 6, 2015 at 11:24 AM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
> Stefan Sperling wrote:
>> On Mon, Jan 05, 2015 at 08:01:48PM +0100, Fabien Renaud wrote:
>>> svn switch segfaults if I do the following three steps:
>>>
>>> svn checkout http://teyjus.googlecode.com/svn teyjus
>>> cd teyjus
>>> svn switch https://teyjus.googlecode.com/svn
>>>
>>>
>>> I'm running Debian Jessie with the following subversion version:
>>> svn, version 1.8.10 (r1615264)
>>> compiled Dec 17 2014, 05:12:58 on x86_64-pc-linux-gnu
>>>
>>> Please let me know if you need more information if you cannot reproduce the bug.
>>
>> Not reproducible for me with 1.8.11, latest 1.8.x, and trunk, on OpenBSD.
>>
>> $ svn switch https://teyjus.googlecode.com/svn
>> subversion/svn/switch-cmd.c:178: (apr_err=SVN_ERR_WC_INVALID_SWITCH)
>> svn: E155025: 'svn switch' does not support switching a working copy to
>> a different repository
>> subversion/libsvn_client/switch.c:484,
>> subversion/libsvn_client/switch.c:214: (apr_err=SVN_ERR_WC_INVALID_SWITCH)
>> svn: E155025: 'http://teyjus.googlecode.com/svn'
>> is not the same repository as
>> 'https://teyjus.googlecode.com/svn'
>>
>> I suspect the package in Debian Jessy is broken for some reason.
>
> I get the same result as Stefan when using 1.8.10 on Ubuntu 14.04 64-bit. Tried with both the package provided by WANdisco and also with a self-built 1.8.10 (built in maintainer mode).
>
> FWIW, you probably know this but the command to do what you want here is "svn relocate" (previously known as "svn switch --relocate"):
>
> $ svn relocate https://teyjus.googlecode.com/svn
>
> The error "svn switch" gives is wrong: it *is* the same repository in this case. We should improve the error message, perhaps suggesting the user might want "svn relocate" instead.
>
> - Julian
Received on 2015-01-06 18:12:45 CET

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.