forked from qt-creator/qt-creator
Svn: Asynchronous exec of commit operations
Use VcsBase::Command to implement the SVN commit operation, allowing asynchronous execution (so the user can do something else while committing) Change-Id: Ic5513676d4dfea1920bb6610efa33788878a2a83 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
ddfc1f8d27
commit
0d0d79ce08
@@ -46,6 +46,16 @@ public:
|
||||
SubversionClient(SubversionSettings *settings);
|
||||
|
||||
SubversionSettings *settings() const;
|
||||
|
||||
VcsBase::Command *createCommitCmd(const QString &repositoryRoot,
|
||||
const QStringList &files,
|
||||
const QString &commitMessageFile,
|
||||
const QStringList &extraOptions = QStringList()) const;
|
||||
void commit(const QString &repositoryRoot,
|
||||
const QStringList &files,
|
||||
const QString &commitMessageFile,
|
||||
const QStringList &extraOptions = QStringList());
|
||||
|
||||
void diff(const QString &workingDir, const QStringList &files,
|
||||
const QStringList &extraOptions = QStringList());
|
||||
QString findTopLevelForFile(const QFileInfo &file) const;
|
||||
@@ -62,6 +72,7 @@ public:
|
||||
Version svnVersion();
|
||||
|
||||
// Add authorization options to the command line arguments.
|
||||
QStringList authenticationOptions(VcsCommand cmd) const;
|
||||
static QStringList addAuthenticationOptions(const QStringList &args,
|
||||
const QString &userName = QString(),
|
||||
const QString &password = QString());
|
||||
|
||||
Reference in New Issue
Block a user