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 """ |