aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/subversion/subversioncontrol.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-12 16:45:21 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-12 16:45:21 +0100
commitd5271a086d7be7fbf7b07a2ca450b805b229aa15 (patch)
tree2ceb1b48a2651455477b03c7ddbf01e50e0151e5 /src/plugins/subversion/subversioncontrol.h
parent5ab250fe5705210a422eeaf8c7ef2dd4a8ab4abb (diff)
VCS[hg, git]: Add support for repository creation.
Add repository creation operation to IVersionControl, implement for hg and git, add convenience slot with prompts to VCSBasePlugin. Add respective menu options and make menus are visible in case no VCS is active. Change project wizards extension page to list VCS that are capable of repository creation in a QComboBox in case the directory is not managed by another VCS (in which case it lists that one for operation 'add'). On that occasion, polish the Project selection to use a QComboBox as well and add some smartness to find the most suitable project to add via path matching.
Diffstat (limited to 'src/plugins/subversion/subversioncontrol.h')
-rw-r--r--src/plugins/subversion/subversioncontrol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/subversion/subversioncontrol.h b/src/plugins/subversion/subversioncontrol.h
index 99512e53f7..5aa60373ac 100644
--- a/src/plugins/subversion/subversioncontrol.h
+++ b/src/plugins/subversion/subversioncontrol.h
@@ -52,6 +52,7 @@ public:
virtual bool vcsOpen(const QString &fileName);
virtual bool vcsAdd(const QString &fileName);
virtual bool vcsDelete(const QString &filename);
+ virtual bool vcsCreateRepository(const QString &directory);
void emitRepositoryChanged(const QString &);
void emitFilesChanged(const QStringList &);