Mercurial > hg > easyhg
diff hgtabwidget.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 | 5c262ac73948 |
line wrap: on
line diff
--- a/hgtabwidget.cpp Thu Dec 02 17:55:21 2010 +0000 +++ b/hgtabwidget.cpp Thu Dec 02 18:04:21 2010 +0000 @@ -81,6 +81,11 @@ m_historyWidget->setCurrent(ids, branch, canCommit()); } +void HgTabWidget::updateHistory() +{ + m_historyWidget->update(); +} + bool HgTabWidget::canCommit() const { if (!m_fileStatusWidget->getSelectedAddableFiles().empty()) return false;