[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src/versioncontrol
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2009-12-12 15:26:39
Message-ID: 1260631599.204768.11472.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1061639 by ppenz:

assure that obsolete file entries are removed from the SVN cache

 M  +9 -0      fileviewsvnplugin.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/versioncontrol/fileviewsvnplugin.cpp #1061638:1061639
@@ -102,6 +102,15 @@
 {
     Q_ASSERT(directory.endsWith('/'));
 
+    // clear all entries for this directory
+    QMutableHashIterator<QString, VersionState> it(m_versionInfoHash);
+    while (it.hasNext()) {
+        it.next();
+        if (it.key().startsWith(directory)) {
+            it.remove();
+        }
+    }
+
     QStringList arguments;
     arguments << "status" << "--show-updates" << directory;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic