878 |
879 |
879 def __hgPull(self): |
880 def __hgPull(self): |
880 """ |
881 """ |
881 Private slot used to pull changes from a remote repository. |
882 Private slot used to pull changes from a remote repository. |
882 """ |
883 """ |
883 self.vcs.hgPull(self.project.ppath) |
884 shouldReopen = self.vcs.hgPull(self.project.ppath) |
|
885 if shouldReopen: |
|
886 res = E5MessageBox.yesNo(self.parent(), |
|
887 self.trUtf8("Pull"), |
|
888 self.trUtf8("""The project should be reread. Do this now?"""), |
|
889 yesDefault = True) |
|
890 if res: |
|
891 self.project.reopenProject() |
884 |
892 |
885 def __hgPush(self): |
893 def __hgPush(self): |
886 """ |
894 """ |
887 Private slot used to push changes to a remote repository. |
895 Private slot used to push changes to a remote repository. |
888 """ |
896 """ |