428 |
428 |
429 def _vcsSwitch(self): |
429 def _vcsSwitch(self): |
430 """ |
430 """ |
431 Protected slot used to switch the local project to another tag/branch. |
431 Protected slot used to switch the local project to another tag/branch. |
432 """ |
432 """ |
433 self.vcs.vcsSwitch(self.project.ppath) |
433 shouldReopen = self.vcs.vcsSwitch(self.project.ppath) |
|
434 if shouldReopen: |
|
435 res = E5MessageBox.yesNo(self.parent(), |
|
436 self.trUtf8("Switch"), |
|
437 self.trUtf8("""The project should be reread. Do this now?"""), |
|
438 yesDefault=True) |
|
439 if res: |
|
440 self.project.reopenProject() |
434 |
441 |
435 def _vcsMerge(self): |
442 def _vcsMerge(self): |
436 """ |
443 """ |
437 Protected slot used to merge changes of a tag/revision into the local project. |
444 Protected slot used to merge changes of a tag/revision into the local project. |
438 """ |
445 """ |