I'm guessing you see a combination of a few bugs. The internal canonical format 
of URLs requires that you use the file://D:/none/existing form and no 
backslashes. The argument parser should probably convert this for you or 
produce a proper error.


After that all the internal code requires the internal format and you found 
various error paths, but all of them have the same root cause: an invalid URL 
going through to the lower layers.


Bert






Sent from Windows Mail





From: du.ng.sa.ga
Sent: ‎Friday‎, ‎October‎ ‎17‎, ‎2014 ‎4‎:‎06‎ ‎PM
To: users@subversion.apache.org





Hello,





I found a bug of svnsync on Windows. It crashes when the target repo cannot be 
found and the current folder is a repo. This bug can be reproduced with the 
following commands:







mkdir my-repo

svnadmin create my-repo

cd my-repo

svnsync sync file:///D:\non\existent\folder

svnsync sync file:///D:\folder\​without\a\repo







Here is the error message before it crashes:




svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.8.8\ext\subvers

ion\subversion\libsvn_ra_local\split_url.c' line 78: assertion failed ((*fs_path

)[0] == '/')







My testing configuration:

Windows 7 SP1, 64 bit

TortoiseSVN 1.8.8, Build 25755 - 64 Bit , 2014/08/10 14:44:06

Subversion 1.8.10, -release

apr 1.5.1

apr-util 1.5.3

serf 1.3.7

OpenSSL 1.0.1i 6 Aug 2014

zlib 1.2.8




Hope this helps,

Dung.

Reply via email to