Add CVS directory actions

This update introduces options to run "cvs update" and "cvs commit" on
a directory-by-directory basis in projects with multiple directories.
Two new entries are added to "CVS" menu: "Update Directory" and
"Commit Directory", which start the appropriate actions with the current
file's directory component as argument.

This might make it easier to control what exactly is synced with
the repository when working on a large project.

Task-number: QTCREATORBUG-13186
Change-Id: I620827211ca272403f1f0f99ebd8e61a096557d3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Toralf
2014-10-22 09:11:36 +02:00
committed by Tobias Hunger
parent 37ddb4e9eb
commit 2adc5c5dc6
2 changed files with 50 additions and 1 deletions

View File

@@ -106,11 +106,13 @@ private slots:
void diffCurrentFile();
void revertAll();
void startCommitAll();
void startCommitDirectory();
void startCommitCurrentFile();
void filelogCurrentFile();
void annotateCurrentFile();
void projectStatus();
void slotDescribe(const QString &source, const QString &changeNr);
void updateDirectory();
void updateProject();
void submitCurrentLog();
void diffCommitFiles(const QStringList &);
@@ -190,6 +192,8 @@ private:
Utils::ParameterAction *m_statusProjectAction;
Utils::ParameterAction *m_updateProjectAction;
Utils::ParameterAction *m_commitProjectAction;
Utils::ParameterAction *m_updateDirectoryAction;
Utils::ParameterAction *m_commitDirectoryAction;
QAction *m_diffRepositoryAction;
QAction *m_updateRepositoryAction;
QAction *m_statusRepositoryAction;