EasyMercurial is based on HgExplorer by " "Jari Korhonen, with thanks.
" ""
- "Copyright © 2012 Queen Mary, University of London.
"
+ "Copyright © 2013 Queen Mary, University of London.
"
"Copyright © 2010 Jari Korhonen.
"
- "Copyright © 2012 Chris Cannam."
+ "Copyright © 2013 Chris Cannam."
"
"
"This program requires Mercurial, by Matt Mackall and others.
"
@@ -572,14 +571,22 @@
QString defaultWarning;
+ bool haveSprouts = (m_hgMergeAct->isEnabled());
+
QString branchText;
if (m_currentBranch == "" || m_currentBranch == "default") {
branchText = tr("the default branch");
- defaultWarning = tr("
Warning: you are asking to close the default branch. This is not usually a good idea!
"); + if (!haveSprouts) { + defaultWarning = tr("Warning: you are asking to close the default branch. This is not usually a good idea!
"); + } } else { branchText = tr("branch \"%1\"").arg(m_currentBranch); } + if (haveSprouts) { + branchText = tr("a sub-branch of %1").arg(branchText); + } + if (ConfirmCommentDialog::confirmAndGetLongComment (this, cf, @@ -3086,24 +3093,44 @@ { int sz = 32; + QString spacerBefore, spacerAfter; + + spacerBefore = spacerAfter = " "; + +#ifdef Q_OS_MAC + spacerAfter = ""; +#endif + +#ifdef Q_OS_WIN32 + spacerBefore = spacerAfter = " "; +#endif + bool spacingReqd = false; QString spacer = ""; -#ifndef Q_OS_MAC - spacingReqd = true; - spacer = " "; -#ifdef Q_OS_WIN32 - spacer = " "; -#endif -#endif + + m_repoToolBar = addToolBar(tr("Remote")); + m_repoToolBar->setIconSize(QSize(sz, sz)); + if (spacerBefore != "") { + m_repoToolBar->addWidget(new QLabel(spacerBefore)); + } + m_repoToolBar->addAction(m_openAct); + if (spacerAfter != "") { + m_repoToolBar->addWidget(new QLabel(spacerAfter)); + } + m_repoToolBar->addSeparator(); + m_repoToolBar->addAction(m_hgIncomingAct); + m_repoToolBar->addAction(m_hgPullAct); + m_repoToolBar->addAction(m_hgPushAct); + m_repoToolBar->setMovable(false); m_workFolderToolBar = new QToolBar(tr("Work")); addToolBar(Qt::LeftToolBarArea, m_workFolderToolBar); m_workFolderToolBar->setIconSize(QSize(sz, sz)); - if (spacingReqd) { - QWidget *w = new QWidget; - w->setFixedHeight(6); - m_workFolderToolBar->addWidget(w); - } + + QWidget *w = new QWidget; + w->setFixedHeight(6); + m_workFolderToolBar->addWidget(w); + m_workFolderToolBar->addAction(m_hgFolderDiffAct); m_workFolderToolBar->addSeparator(); m_workFolderToolBar->addAction(m_hgRevertAct); @@ -3115,21 +3142,6 @@ m_workFolderToolBar->addAction(m_hgRemoveAct); m_workFolderToolBar->setMovable(false); - m_repoToolBar = addToolBar(tr("Remote")); - m_repoToolBar->setIconSize(QSize(sz, sz)); - if (spacingReqd) { - m_repoToolBar->addWidget(new QLabel(spacer)); - } - m_repoToolBar->addAction(m_openAct); - if (spacingReqd) { - m_repoToolBar->addWidget(new QLabel(spacer)); - } - m_repoToolBar->addSeparator(); - m_repoToolBar->addAction(m_hgIncomingAct); - m_repoToolBar->addAction(m_hgPullAct); - m_repoToolBar->addAction(m_hgPushAct); - m_repoToolBar->setMovable(false); - updateToolBarStyle(); } diff -r 005b4530c6ee -r 43c61fd6fea4 src/mainwindow.h --- a/src/mainwindow.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/mainwindow.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on hgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/moreinformationdialog.cpp --- a/src/moreinformationdialog.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/moreinformationdialog.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on hgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/moreinformationdialog.h --- a/src/moreinformationdialog.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/moreinformationdialog.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on hgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/multichoicedialog.cpp --- a/src/multichoicedialog.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/multichoicedialog.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/multichoicedialog.h --- a/src/multichoicedialog.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/multichoicedialog.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/panned.cpp --- a/src/panned.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/panned.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/panned.h --- a/src/panned.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/panned.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/panner.cpp --- a/src/panner.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/panner.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/panner.h --- a/src/panner.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/panner.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/recentfiles.cpp --- a/src/recentfiles.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/recentfiles.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/recentfiles.h --- a/src/recentfiles.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/recentfiles.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/repositorydialog.cpp --- a/src/repositorydialog.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/repositorydialog.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/repositorydialog.h --- a/src/repositorydialog.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/repositorydialog.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/selectablelabel.cpp --- a/src/selectablelabel.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/selectablelabel.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/selectablelabel.h --- a/src/selectablelabel.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/selectablelabel.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/settingsdialog.cpp --- a/src/settingsdialog.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/settingsdialog.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/settingsdialog.h --- a/src/settingsdialog.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/settingsdialog.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/squeezedlabel.cpp --- a/src/squeezedlabel.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/squeezedlabel.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/squeezedlabel.h --- a/src/squeezedlabel.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/squeezedlabel.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/startupdialog.cpp --- a/src/startupdialog.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/startupdialog.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/startupdialog.h --- a/src/startupdialog.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/startupdialog.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/textabbrev.cpp --- a/src/textabbrev.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/textabbrev.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/textabbrev.h --- a/src/textabbrev.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/textabbrev.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/uncommitteditem.cpp --- a/src/uncommitteditem.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/uncommitteditem.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/uncommitteditem.h --- a/src/uncommitteditem.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/uncommitteditem.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/version.h --- a/src/version.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/version.h Fri Mar 01 09:20:11 2013 +0000 @@ -1,1 +1,1 @@ -#define EASYHG_VERSION "1.2.2" +#define EASYHG_VERSION "1.3" diff -r 005b4530c6ee -r 43c61fd6fea4 src/versiontester.cpp --- a/src/versiontester.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/versiontester.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on hgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/versiontester.h --- a/src/versiontester.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/versiontester.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on hgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/workstatuswidget.cpp --- a/src/workstatuswidget.cpp Fri Nov 09 14:48:02 2012 +0000 +++ b/src/workstatuswidget.cpp Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff -r 005b4530c6ee -r 43c61fd6fea4 src/workstatuswidget.h --- a/src/workstatuswidget.h Fri Nov 09 14:48:02 2012 +0000 +++ b/src/workstatuswidget.h Fri Mar 01 09:20:11 2013 +0000 @@ -5,8 +5,8 @@ Based on HgExplorer by Jari Korhonen Copyright (c) 2010 Jari Korhonen - Copyright (c) 2012 Chris Cannam - Copyright (c) 2012 Queen Mary, University of London + Copyright (c) 2013 Chris Cannam + Copyright (c) 2013 Queen Mary, University of London This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as