[jira] [Commented] (SVN-4732) Subversion crashes during local (file://) checkout on Windows
"Daniel Sahlberg (Jira)" <[email protected]> Fri, 31 Jan 2025 12:47:00 +0000 (UTC)
| Newsgroups | gmane.comp.version-control.subversion.issues |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/SVN-4732?page=3Dcom.atlassian.j=
ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D179227=
08#comment-17922708 ]=20
Daniel Sahlberg commented on SVN-4732:
--------------------------------------
With 1.14.4 there is a different - imho correct - behaviour:
D:\temp>svn --version
svn, version 1.14.4 (r1920901)
=C2=A0 =C2=A0compiled Oct =C2=A05 2024, 07:10:04 on x86-microsoft-windows
[...]
D:\temp>svn co file://d:/temp/repo wc_wrongslash
svn: E170013: Unable to connect to a repository at URL 'file://d/temp/repo'
svn: E180001: Unable to open repository 'file://d/temp/repo'
D:\temp>svn co file://d:\temp\repo wc_wrongslash
svn: E170000: Illegal repository URL 'file://d:%5ctemp%5crepo'
=C2=A0
There is a difference between / and \, but I think both messages are approp=
riate.
> Subversion crashes during local (file://) checkout on Windows
> -------------------------------------------------------------
>
> Key: SVN-4732
> URL: https://issues.apache.org/jira/browse/SVN-4732
> Project: Subversion
> Issue Type: Bug
> Components: libsvn_subr
> Affects Versions: 1.9.7, 1.10.0-alpha3
> Environment: {noformat}
> PS > [System.Environment]::OSVersion.Version
> Major Minor Build Revision
> ----- ----- ----- --------
> 10 0 16299 0{noformat}
> Tried two different Subversion clients:
> {noformat}
> PS > svn --version
> svn, version 1.9.7 (r1800392)
> compiled Aug 8 2017, 22:14:48 on x86-microsoft-windows{noformat}
> {noformat}
> PS > D:\Entwicklung\Programme\svn-1.10.0-alpha3\svn.exe --version
> svn, version 1.10.0-alpha3 (Alpha 3)
> compiled Aug 22 2017, 08:13:12 on x86_64-microsoft-windows10.0.14393{nofo=
rmat}
> Reporter: Michael Osipov
> Priority: Major
>
> Ported from: [https://svn.haxx.se/users/archive-2018-03/0115.shtml].
> Running on Windows from PowerShell:
> {noformat}
> PS > svn co file://D:\Entwicklung\svn-repos\scm-svn-test-at-sign .
> svn: E235000: In file 'D:\Development\SVN\Releases\TortoiseSVN-1.9.7\ext\=
subversion\subversion\libsvn_client\checkout.c' line 87: assertion failed (=
svn_uri_is_canonical(url, scratch_pool)){noformat}
> {noformat}
> PS > D:\Entwicklung\Programme\svn-1.10.0-alpha3\svn.exe co file://D:\Entw=
icklung\svn-repos\scm-svn-test-at-sign .
> svn: E235000: In file '..\..\..\subversion\libsvn_client\checkout.c' line=
88: assertion failed (svn_uri_is_canonical(url, scratch_pool)){noformat}
> I know that the URL should start with {{file:///}}, but I would expect so=
mething like "invalid URL". The assert failed isn't really helpful to the u=
ser.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)