Mercurial > hg > easyhg
comparison mainwindow.cpp @ 318:124a3ea9fafb easyhg_v0.4
Merge, and add a helpful warning when you try to push before committing your merge (I just did this and the ensuing warning was misleading)
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2011 12:38:17 +0000 |
parents | 4b9656471303 |
children | 913d213dd427 6e1fdda1dff2 |
comparison
equal
deleted
inserted
replaced
317:5144926b715e | 318:124a3ea9fafb |
---|---|
1706 (this, | 1706 (this, |
1707 tr("Push failed"), | 1707 tr("Push failed"), |
1708 tr("Push failed"), | 1708 tr("Push failed"), |
1709 tr("Your local repository could not be pushed to the remote repository.<br><br>You may need to merge the changes locally first."), | 1709 tr("Your local repository could not be pushed to the remote repository.<br><br>You may need to merge the changes locally first."), |
1710 output); | 1710 output); |
1711 } else if (m_hgTabs->canCommit() && m_currentParents.size() > 1) { | |
1712 MoreInformationDialog::warning | |
1713 (this, | |
1714 tr("Push failed"), | |
1715 tr("Push failed"), | |
1716 tr("Your local repository could not be pushed to the remote repository.<br><br>You have an uncommitted merge in your local folder. You probably need to commit it before you push."), | |
1717 output); | |
1711 } else { | 1718 } else { |
1712 MoreInformationDialog::warning | 1719 MoreInformationDialog::warning |
1713 (this, | 1720 (this, |
1714 tr("Push failed"), | 1721 tr("Push failed"), |
1715 tr("Push failed"), | 1722 tr("Push failed"), |