diff options
Diffstat (limited to 'src/versioncontrol')
| -rw-r--r-- | src/versioncontrol/fileviewsvnplugin.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/versioncontrol/fileviewsvnplugin.cpp b/src/versioncontrol/fileviewsvnplugin.cpp index 91a37a878..60ab81415 100644 --- a/src/versioncontrol/fileviewsvnplugin.cpp +++ b/src/versioncontrol/fileviewsvnplugin.cpp @@ -102,6 +102,15 @@ bool FileViewSvnPlugin::beginRetrieval(const QString& directory) { 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; |
