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

Re: svn 1.5.0 segfaults with ^/ externals

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 16 Jul 2008 11:48:59 -0700

Hi Stefan,

Thanks for the report. I'll take a look at this one.

Regards,
Blair

Stefan Küng wrote:
> Hi,
>
> Another crash report sent for TSVN: when setting an svn:external to
> ^/B extfolder
> svn can segfault.
> The script below shows how to reproduce this. It only works if the
> repository is located directly on the server root (e.g.,
> svn://localhost/), it works ok if the repository is at least one folder
> below the server root.
>
> Stefan
>
> :: script starts here
>
> @echo off
> set ROOT=D:/Development/SVN/SVNTests
> set SERVERROOT=D:\Development\SVN\SVNTests
> set REPONAME=relextrepo
> set WCNAME=relextwc
> set REPO=svn://localhost:40000/
> set WC=%ROOT%/%WCNAME%
>
> cd %ROOT%
> if exist %SERVERROOT%\%REPONAME% rd /s /q %SERVERROOT%\%REPONAME%
> if exist %WCNAME% rd /s /q %WCNAME%
>
> mkdir %SERVERROOT%\%REPONAME%
> svnadmin create %SERVERROOT%\%REPONAME%
> rem Allow anonymous access
> echo [general]> %SERVERROOT%\%REPONAME%\conf\svnserve.conf
> echo anon-access = write>> %SERVERROOT%\%REPONAME%\conf\svnserve.conf
>
> rem Launch svnserve for current directory at port 40000
> start svnserve.exe --daemon --foreground --root %SERVERROOT%\%REPONAME%
> --listen-port 40000 --listen-host localhost
> pause
> svn mkdir %REPO%/A -m ""
> svn mkdir %REPO%/B -m ""
> svn co %REPO%/A %WCNAME%
>
> svn propset svn:externals "^/B extfolder" %WCNAME%
> svn ci %WCNAME% -m ""
> :: now an update will segfault
> svn update %WCNAME%

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-16 20:49:45 CEST

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.