1036 Protected slot used to apply changegroup files. |
1036 Protected slot used to apply changegroup files. |
1037 """ |
1037 """ |
1038 shouldReopen = self.vcs.hgUnbundle(self.project.ppath) |
1038 shouldReopen = self.vcs.hgUnbundle(self.project.ppath) |
1039 if shouldReopen: |
1039 if shouldReopen: |
1040 res = E5MessageBox.yesNo(self.parent(), |
1040 res = E5MessageBox.yesNo(self.parent(), |
1041 self.trUtf8("Unbundle"), |
1041 self.trUtf8("Apply changegroups"), |
1042 self.trUtf8("""The project should be reread. Do this now?"""), |
1042 self.trUtf8("""The project should be reread. Do this now?"""), |
1043 yesDefault=True) |
1043 yesDefault=True) |
1044 if res: |
1044 if res: |
1045 self.project.reopenProject() |
1045 self.project.reopenProject() |
1046 |
1046 |