Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
kdesvn
fix-crash-root-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-crash-root-path.patch of Package kdesvn
From f8030100249e715a8f222dc7b4f6f5072283ce90 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher <Ch.Ehrlicher@gmx.de> Date: Sun, 6 Aug 2017 11:20:08 +0200 Subject: [PATCH] Don't pass an empty path to svn - could occur when '/' was checked with isWorkingCopy() through ioslave (e.g. dolphin) BUG: 383187 --- src/svnqt/path.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/svnqt/path.cpp b/src/svnqt/path.cpp index 50b17876..7cfd436e 100644 --- a/src/svnqt/path.cpp +++ b/src/svnqt/path.cpp @@ -91,21 +91,7 @@ Path::init(const QString &path) } m_path = QString::fromUtf8(int_path); - /* the following block is a problem and thats why commented out: since a while subversion raises - * an assert because of wrong url if replacing the @ sign with entity and kdesvn dies. - * So using the scheme on ubuntu that it just don't display the content of such a folder/file. - */ - /* - if (Url::isValid(m_path) && m_path.indexOf("@")!=-1 ) { - /// @todo make sure that "@" is never used as revision parameter - QUrl uri = m_path; - m_path = uri.path(); - m_path.replace('@',"%40"); - m_path = uri.scheme()+"://"+uri.authority()+m_path; - } - */ - - while (m_path.endsWith(QLatin1Char('/'))) { + while (m_path.endsWith(QLatin1Char('/')) && m_path.size() > 1) { m_path.chop(1); } } -- 2.13.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor