Hello community, here is the log from the commit of package kdesvn for openSUSE:Factory checked in at 2017-08-10 14:05:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdesvn (Old) and /work/SRC/openSUSE:Factory/.kdesvn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kdesvn" Thu Aug 10 14:05:30 2017 rev:64 rq:514795 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kdesvn/kdesvn.changes 2017-05-22 10:49:08.062952897 +0200 +++ /work/SRC/openSUSE:Factory/.kdesvn.new/kdesvn.changes 2017-08-10 14:13:10.883344643 +0200 @@ -1,0 +2,6 @@ +Sun Aug 6 10:42:56 UTC 2017 - ch.ehrlicher@gmx.de + +- Add fix-crash-root-path.patch to fix kded crash when the root + path ('/') is checked for a working copy (kde#383187) + +------------------------------------------------------------------- New: ---- fix-crash-root-path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdesvn.spec ++++++ --- /var/tmp/diff_new_pack.lUXD8n/_old 2017-08-10 14:13:11.867206114 +0200 +++ /var/tmp/diff_new_pack.lUXD8n/_new 2017-08-10 14:13:11.883203861 +0200 @@ -28,6 +28,8 @@ Patch: fix-startup.patch # PATCH-FIX-UPSTREAM fix-crash.patch kde#375655 -- fixes crash when there's a '@' in the path Patch1: fix-crash.patch +# PATCH-FIX-UPSTREAM fix-crash-root-path.patch kde#383187 -- fix kded crash when the root path ('/') is checked for a working copy +Patch2: fix-crash-root-path.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kbookmarks-devel @@ -69,6 +71,7 @@ %setup -q %patch -p1 %patch1 -p1 +%patch2 -p1 %build %cmake_kf5 -d build ++++++ fix-crash-root-path.patch ++++++
From f8030100249e715a8f222dc7b4f6f5072283ce90 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher
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