VCS/ProjectHelper.py

changeset 6558
db48660ca7c0
parent 6556
8aa72eaa2d70
child 6645
ad476851d7e0
equal deleted inserted replaced
6557:09d3f1d68958 6558:db48660ca7c0
256 "Create project directory"), 256 "Create project directory"),
257 QCoreApplication.translate( 257 QCoreApplication.translate(
258 "VcsProjectHelper", 258 "VcsProjectHelper",
259 "<p>The project directory <b>{0}</b> could not" 259 "<p>The project directory <b>{0}</b> could not"
260 " be created.</p>").format(projectdir)) 260 " be created.</p>").format(projectdir))
261 self.project.resetVCS()
261 return 262 return
262 263
263 # create the project from the VCS 264 # create the project from the VCS
264 vcs.vcsSetDataFromDict(vcsDataDict) 265 vcs.vcsSetDataFromDict(vcsDataDict)
265 if export: 266 if export:
351 "VcsProjectHelper", "New project from repository"), 352 "VcsProjectHelper", "New project from repository"),
352 QCoreApplication.translate( 353 QCoreApplication.translate(
353 "VcsProjectHelper", 354 "VcsProjectHelper",
354 """The project could not be retrieved from""" 355 """The project could not be retrieved from"""
355 """ the repository.""")) 356 """ the repository."""))
357 self.project.resetVCS()
356 358
357 def _vcsExport(self): 359 def _vcsExport(self):
358 """ 360 """
359 Protected slot used to export a project from the repository. 361 Protected slot used to export a project from the repository.
360 """ 362 """

eric ide

mercurial