View Issue Details

IDProjectCategoryView StatusLast Update
00281582.x IDE BugsSource ControlPublic2018-09-02 18:48
ReporterSam CummingAssigned ToCoreTech 
PriorityMediumSeverityA - Crash/HangReproducibility100%
Status AssignedResolutionOpen 
Product VersionPre-2.1.3 
Target VersionFixed in Version 
Summary0028158: Source Control: Deleting the .git folder in a project will crash the IDE when it tries to save
DescriptionIf you delete a .git folder while the IDE is open, the IDE will crash when you next try to save.

Under normal usage, there is no reason to delete your .git folder, however, in the course of trying to deal with the related bug, I deleted the .git folder to 'clean' the project and try again while the IDE was still open. This was fine at first, but then when trying to save the IDE became unstable, then threw a fatal exception and crashed.

Expected: The filewatcher will detect that the .git folder is missing and catch the crash, then convert project to a non-source control project for normal usage.
Steps To Reproduce1. Open any project.
2. Make it a source control project with a local repo.
3. Delete the .git folder while the project is open.
4. Save.
5. Observe 'IDE unstable', then a fatal exception.
Additional InformationObviously you shouldn't delete your .git folder under normal usage, but my first thought to fix the issue caused by the related bug was to delete the folder, which would hopefully reset the IDE so I could try Importing to Repo again.
TagsIDE, source_control
2.x IDE Found In2.1.2.253
2.x Runtime Found In2.1.2.169
2.x IDE Verified In2.1.1.2
2.x Runtime Verified In2.1.1.1

Relationships

related to 0028157 ClosedSteven Campbell Source Control: 'Import Project to Repo' creates local repo if the import fails, preventing further imports 

Activities

There are no notes attached to this issue.