diff -r b53e67ae2021 -r 7a1d92437921 Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py --- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py Thu Oct 07 21:27:08 2010 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py Fri Oct 08 08:42:18 2010 +0200 @@ -11,6 +11,7 @@ from PyQt4.QtGui import QMenu +from E5Gui import E5MessageBox from E5Gui.E5Application import e5App from VCS.ProjectHelper import VcsProjectHelper @@ -880,7 +881,14 @@ """ Private slot used to pull changes from a remote repository. """ - self.vcs.hgPull(self.project.ppath) + shouldReopen = self.vcs.hgPull(self.project.ppath) + if shouldReopen: + res = E5MessageBox.yesNo(self.parent(), + self.trUtf8("Pull"), + self.trUtf8("""The project should be reread. Do this now?"""), + yesDefault = True) + if res: + self.project.reopenProject() def __hgPush(self): """