Bug #18615 2012-05-20 12:21

algorithman

svn-conflict in the .depend file makes codeblocks crash

codeblocks crashes, when you try to compile a project whose .depend file has a conflict with an svn server.

when this happens, I get the files foobar.depend.rXYZ, foobar.depend.mine and foobar.depend (where XYZ is the number of the revision)

now the foobar.depend contains a diff between the .rXYZ and the .mine file. Of course this means that the .depend file is corrupt so codeblocks needn't be able to fix this, but it would be nice if it would at least show a notification "your .depend file seems to have an SVN conflict" or so instead of crashing

(being unaware of my SVN conflict, it took me quite a while to figure out what was wrong...)

Category
 
Group
 
Status
Closed
Close date
2012-07-02 05:46
Assigned to
mortenmacfly
mortenmacfly 2012-05-20 15:39

Well first of all: *.depend files do not belong under version control.

Nevertheless, I cannot reproduce. I made a complete mess with the *.depend file of several projects, but they all work/compile just fine.

Can you provide a sample case, please (attach it to a post in the forums)?

algorithman 2012-06-05 18:48

strange - now I had a new svn conflict (before I didn't have the files anymore) and this time it didn't crash codeblocks...