Mercurial > hg > easyhg
diff mainwindow.cpp @ 154:6bcb4a4d6521
* Try to reduce unnecessary history updates; add --new-branch option on push
author | Chris Cannam |
---|---|
date | Thu, 02 Dec 2010 18:04:21 +0000 |
parents | 70fe12873106 |
children | edab92f3ea0b |
line wrap: on
line diff
--- a/mainwindow.cpp Thu Dec 02 17:55:21 2010 +0000 +++ b/mainwindow.cpp Thu Dec 02 18:04:21 2010 +0000 @@ -632,7 +632,7 @@ QMessageBox::Ok | QMessageBox::Cancel) == QMessageBox::Ok) { QStringList params; - params << "push" << remoteRepoPath; + params << "push" << "--new-branch" << remoteRepoPath; runner->requestAction(HgAction(ACT_PUSH, workFolderPath, params)); } } @@ -1625,6 +1625,8 @@ } else { hgTabs->setState(tr("At the head of %1").arg(branchText)); } + + hgTabs->updateHistory(); } void MainWindow::createActions()