Am 02.11.2010 um 10:29 schrieb Vincent van Ravesteijn: > >> Log: >> first step to cure the VCS load problem > > Can I please remind you and ask you to write meaningful commit-logs. Logs > explaining why the change has been made, why the new design or solution or > implementation is better, what problem it fixed, why other solutions might be > wrong although it may seem not to be at first sight and so forth. > > In the example of the VCS load problem, please explain what the VCS load > problem is. Please explain why it is only a first step, and what still needs > to be done.
The VCS load problem is (was) twofold: 1. the parser of the document needs the VCS state so this state (checked by file_found_hook) had to be done earlier. => first step, move it some lines up, above the readDocument() call. 2. in case of loading the autosave or emergency file the real file name has to be passed to file_found_hook. => the patch I posted does this. (I missed to diff src/buffer_funcs.cpp and - of course - I'd fix the comments). To defend my short commit-logs, I'm used to work with svn command line tool and the -m switch. Changing that is not easy for me, but I can do so... Stephan