title: Workaround for Delphi 2007 error "Unable to rename unit.pas to __history\unit..."
body: <p>In the Delphi 2007 IDE, I'm hoping there's a configuration option I could turn on to turn off the generation of __HISTORY folders.</p>
  
  <p>I am getting this exception which is blocking my ability to save files in the IDE:</p>
  
  <pre><code> Unable to rename '..\myunit.pas' to '..\__history\myunit.pas.~1~'.
  </code></pre>
  
  <p>MadExcept tells me this is happening in coreide100.bpl::</p>
  
  <pre><code>20a21bab +057 coreide100.bpl EditorForm     4256   +3 TryRename
  20a21e0d +255 coreide100.bpl EditorForm     4297  +38 WriteEditorStream
  20a52f46 +082 coreide100.bpl EditorBuffer   2633   +5 TEditBuffer.SaveFile
  20a52c6d +005 coreide100.bpl EditorBuffer   2587   +1 TEditBuffer.Save
  2097d128 +038 coreide100.bpl SourceModule    625   +2 TSourceModule.SaveFile
  20a5ea9c +348 coreide100.bpl DocModul       1361  +61 TDocModule.Save
  2097e1cf +117 coreide100.bpl SourceModule    970  +17 TSourceModule.Save
  209b8792 +016 coreide100.bpl EditorControl  7485   +2 TEditEventHandler.EditSaveFile
  209b4d91 +015 coreide100.bpl EditorControl  5672   +1 TCustomEditControl.SaveFile
  </code></pre>
  
  <p>I seem to remember there was something in the registry you could change to fix this.</p>