diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-10-02 00:18:39 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-10-11 12:43:25 +0200 |
commit | fdb6ef90fc7a695e2b8d37abdfcf48fe0d8afb03 (patch) | |
tree | dbf64e035c2a58235ad16b0e0d575f300e56db36 /src/plugins/perforce/perforceplugin.h | |
parent | 6f24665e7e133d9d64ea07ae37e35b9e1a1e83a7 (diff) |
VCS: Do not try to add files that are already tracked
Task-number: QTCREATORBUG-2455
Change-Id: I4b1fa9676ad4a8d7293e035e4d6103251bef8aee
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: Cristian Tibirna <tibirna@kde.org>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/perforce/perforceplugin.h')
-rw-r--r-- | src/plugins/perforce/perforceplugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/perforce/perforceplugin.h b/src/plugins/perforce/perforceplugin.h index 71e0a6e39d7..b03fab15c9d 100644 --- a/src/plugins/perforce/perforceplugin.h +++ b/src/plugins/perforce/perforceplugin.h @@ -86,6 +86,7 @@ public: void extensionsInitialized(); bool managesDirectory(const QString &directory, QString *topLevel = 0); + bool managesFile(const QString &workingDirectory, const QString &fileName) const; bool vcsOpen(const QString &workingDir, const QString &fileName); bool vcsAdd(const QString &workingDir, const QString &fileName); bool vcsDelete(const QString &workingDir, const QString &filename); |