July 05, 2011 [Issue 6249] New: HTOD deletes files without notice | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6249 Summary: HTOD deletes files without notice Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: htod AssignedTo: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-07-04 18:51:39 PDT --- If you have a source file: $ test.d and you just happen to have a C header file with the same name: $ test.h If your run htod on the file: $ htod test.h Your original project file is now gone. This is really horrible and I've already lost a good bit of work a couple of times because I didn't have that stuff under revision control. *Yes*, we should always use revision control to protect from these kinds of mistakes, but it's never a good thing when a tool erases your files without any notice. Sometimes you start a new project, you realize HTOD isn't doing a good job of translating some header file and you decide to give HTOD a hand by modifying some type definitions in the newly created .d file. And then you accidentally call htod again and all the additions/modifications you made are gone. I don't always have GIT at hand, most probably because it requires that stupid msys linux emulator. YMMV, but I don't like tools that wreak havoc on my files without me knowing about it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 02, 2012 [Issue 6249] HTOD deletes files without notice | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=6249 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-11-02 06:03:30 PDT --- I must have been very angry when I filed this. :p Anyway we have better (cross-platform) tools for .h conversion now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation