Am Mon, 7. Nov 2011, 23:57:59 +0200 schrieb Daniel Shahaf: > Assuming you have a versioned file called 'iota', > > % cp iota iota2 > % echo >> iota > % svn ci iota > (editor pops up) > (shell out from editor) > % cp iota2 iota > % exit > (back to editor) > (enter commit message) > (exit editor)
That appears to have worked. Although svn seem to kind of remember that the file 'iota' ('COPYING' in my case) appears to have changed (e.g. with "svn log COPYING"). This is both an advantage and a disadvantage of this technique: a disadvantage because files that haven't actually changed are listed as changed, which is creepy. An advantage, because if you take this into account you can use all the files that were touched in the faulty commit for 'iota', and the corrected commit message will appear when you run "svn log" for them[1]. Thanks a lot, Jö. [1] Unfortunately, I noticed this only after arbitrarily choosing 'COPYING'... -- Jorrit (Jö) Fahlke, Interdisciplinary Center for Scientific Computing, Heidelberg University, Im Neuenheimer Feld 368, D-69120 Heidelberg Tel: +49 6221 54 8890 Fax: +49 6221 54 8884 In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- Douglas Adams
signature.asc
Description: Digital signature