diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-01-12 16:45:21 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-01-12 16:45:21 +0100 |
commit | d5271a086d7be7fbf7b07a2ca450b805b229aa15 (patch) | |
tree | 2ceb1b48a2651455477b03c7ddbf01e50e0151e5 /src/plugins/git/gitversioncontrol.h | |
parent | 5ab250fe5705210a422eeaf8c7ef2dd4a8ab4abb (diff) | |
download | qt-creator-d5271a086d7be7fbf7b07a2ca450b805b229aa15.tar.gz |
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/git/gitversioncontrol.h')
-rw-r--r-- | src/plugins/git/gitversioncontrol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/gitversioncontrol.h b/src/plugins/git/gitversioncontrol.h index e7dbf0dabe..e5013cce6e 100644 --- a/src/plugins/git/gitversioncontrol.h +++ b/src/plugins/git/gitversioncontrol.h @@ -53,6 +53,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 emitFilesChanged(const QStringList &); |