forked from qt-creator/qt-creator
Mercurial: Run update after pull
Get output of pull command and emit signal if update/merge is needed. On update show update dialog. Change-Id: I814f76daf3d89d0bd9485ed42a224b6b5d78bcb3 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -140,6 +140,7 @@ bool MercurialPlugin::initialize(const QStringList & /* arguments */, QString *
|
||||
mercurialSettings.readSettings(core->settings());
|
||||
|
||||
connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant)));
|
||||
connect(m_client, SIGNAL(needUpdate()), this, SLOT(update()));
|
||||
|
||||
static const char *describeSlot = SLOT(view(QString,QString));
|
||||
const int editorCount = sizeof(editorParameters)/sizeof(editorParameters[0]);
|
||||
|
||||
Reference in New Issue
Block a user