Summary: | SVN integration does not distinguish between ignored and not changed files | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Felix Möller <felix> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | felix.leif |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | screenshot of svn st -v and dolphin showing the same files |
Description
Felix Möller
2010-02-17 15:37:25 UTC
Created attachment 40875 [details]
screenshot of svn st -v and dolphin showing the same files
This stuff is in <http://websvn.kde.org/trunk/KDE/kdebase/apps/dolphin/src/versioncontrol/fileviewsvnplugin.cpp?revision=1076617&view=markup> Something like the following, which does not work yet, has to be done: Index: src/versioncontrol/fileviewsvnplugin.cpp =================================================================== --- src/versioncontrol/fileviewsvnplugin.cpp (Revision 1092447) +++ src/versioncontrol/fileviewsvnplugin.cpp (Arbeitskopie) @@ -113,7 +113,7 @@ } QStringList arguments; - arguments << "status" << "--show-updates" << directory; + arguments << "status" << "--show-updates --no-ignore" << directory; QProcess process; process.start("svn", arguments); @@ -129,6 +129,8 @@ case 'A': state = AddedVersion; break; case 'D': state = RemovedVersion; break; case 'C': state = ConflictingVersion; break; + // items which are matched by an svn:ignore are similar to unversioned ones + case 'I': state = UnversionedVersion; break; default: if (filePath.contains('*')) { state = UpdateRequiredVersion; SVN commit 1121567 by ppenz: Don't show svn:ignores as versioned files. Thanks to Felix Möller for the patch! BUG: 227373 M +2 -1 fileviewsvnplugin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1121567 If I am not mistaken, the patch is not applied to the 4.4 series. I.e. I cannot find it at <http://websvn.kde.org/branches/KDE/4.4/kdebase/apps/dolphin/src/versioncontrol/fileviewsvnplugin.cpp> I think a backport would be nice. SVN commit 1122762 by ppenz: Backport SVN commit 1121567: Don't show svn:ignores as versioned files. Thanks to Felix Möller for the patch! CCBUG: 227373 M +2 -1 fileviewsvnplugin.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1122762 |