diff options
| author | Peter Penz <[email protected]> | 2009-07-28 22:04:00 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-07-28 22:04:00 +0000 |
| commit | 47615514f8617c64852ca2c4398dc6ba151317b5 (patch) | |
| tree | 4ea1e558b5fadd888d73ba96e680a6845952aba8 /src/revisioncontrolplugin.h | |
| parent | 66ad27aba14cdfea777b9ebe1beb161f80f26463 (diff) | |
Use the output of 'svn status' instead of doing a custom and error-prone .svn-parsing. BTW: this commit is the first done within Dolphin itself :-)
svn path=/trunk/KDE/kdebase/apps/; revision=1003845
Diffstat (limited to 'src/revisioncontrolplugin.h')
| -rw-r--r-- | src/revisioncontrolplugin.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/revisioncontrolplugin.h b/src/revisioncontrolplugin.h index 7863cfacb..718e5c17d 100644 --- a/src/revisioncontrolplugin.h +++ b/src/revisioncontrolplugin.h @@ -66,6 +66,11 @@ public: */ AddedRevision, /** + * The file is under revision control but has been marked + * for getting removed with the next commit. + */ + RemovedRevision, + /** * The file is under revision control and has been locally * modified. A modification has also been done on the main * branch. @@ -171,21 +176,9 @@ private: */ void execSvnCommand(const QString& svnCommand); - /** - * Returns true, if the content of the local file \p name is equal to the - * content of the revisioned file. - */ - bool equalRevisionContent(const QString& name) const; - private: - struct RevisionInfo - { - quint64 size; - QDateTime timeStamp; - }; - - QString m_retrievalDir; - QHash<QString, RevisionInfo> m_revisionInfoHash; + QHash<QString, RevisionState> m_revisionInfoHash; + QList<QString> m_revisionInfoKeys; // cache for accessing the keys of the hash QAction* m_updateAction; QAction* m_showLocalChangesAction; |
