Plugins/VcsPlugins/vcsMercurial/FetchExtension/ProjectHelper.py

changeset 3020
542e97d4ecb3
parent 3008
7848489bcb92
child 3023
34ce20603bf7
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
77 Private slot used to fetch changes from a remote repository. 77 Private slot used to fetch changes from a remote repository.
78 """ 78 """
79 shouldReopen = self.vcs.getExtensionObject("fetch")\ 79 shouldReopen = self.vcs.getExtensionObject("fetch")\
80 .hgFetch(self.project.getProjectPath()) 80 .hgFetch(self.project.getProjectPath())
81 if shouldReopen: 81 if shouldReopen:
82 res = E5MessageBox.yesNo(None, 82 res = E5MessageBox.yesNo(
83 None,
83 self.trUtf8("Fetch"), 84 self.trUtf8("Fetch"),
84 self.trUtf8("""The project should be reread. Do this now?"""), 85 self.trUtf8("""The project should be reread. Do this now?"""),
85 yesDefault=True) 86 yesDefault=True)
86 if res: 87 if res:
87 self.project.reopenProject() 88 self.project.reopenProject()

eric ide

mercurial