RE: Assertion Failure dialogs appear when attempting to open repository with bad URL
From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 10 Jun 2015 19:06:07 +0200
Hi Dean,
There is not much we can do about this. The Subversion apis require that you pass canonical urls, while the client (TortoiseSVN) that you use doesn’t canonicalize the url before passing it to this api.
As the TortoiseSVN client is built by a different opensource project than Subversion, we can’t really help you… you should really contact the TortoiseSVN team if you want a solution… They should filter the url and provide a proper error instead of passing it to the api.
You already know that the url is bad, so we can’t help you there. file:/// <file:///\\> urls require an absolute or at least rooted local path, which in this case isn’t provided.
Bert
From: Dean Veros [mailto:dveros_at_cmacommunities.com]
Upgraded & tested with same bad URL ... same result - although assertion error now occurs on a different line.
Badly formatted URL: "file:///c:Software/SourceCodeRepository <file:///c:Software\SourceCodeRepository> "
---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html
Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):
In file
'D:\Development\SVN\Releases\TortoiseSVN-1.8.10\ext\subversion\subversion\libsvn_subr\dirent_uri.c'
line 2307: assertion failed (svn_uri_is_canonical(url, pool))
---------------------------
OK
---------------------------
From: Andreas Stieger [mailto:Andreas.Stieger_at_gmx.de]
Please upgrade to the compatible ToroiseSVN 1.7.15 (containing 1.7.18) and try again.
https://sourceforge.net/projects/tortoisesvn/files/1.7.15/
Gesendet: Mittwoch, 10. Juni 2015 um 02:26 Uhr
Windows 7 - 64-bit Tortoise SVN 1.7.11.23600
Multiple assertion message dialogs are displayed when the repository URL is incorrectly formatted. Last attempt generated 8 dialogs (appearing after "OK" is clicked)
Badly formatted URL: "file:///c:Software/SourceCodeRepository <file:///c:Software\SourceCodeRepository> "
---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html
Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):
In file
'D:\Development\SVN\Releases\TortoiseSVN-1.7.11\ext\subversion\subversion\libsvn_subr\dirent_uri.c'
line 2313: assertion failed (svn_uri_is_canonical(url, pool))
---------------------------
OK
---------------------------
|
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.