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

svn 1.5.0 segfaults with ^/ externals

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 16 Jul 2008 19:13:23 +0200

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%

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-07-16 19:13:49 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.