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)
Jö Fahlke wrote on Mon, Nov 07, 2011 at 22:34:53 +0100:
> Hi!
>
> Is there any way to do a commit with and empty changeset, but non-empty commit
> message?
>
> I made a typo in a commit message. Unfortunately the typo isn't just
> cosmetic, since it is right in a revision number referencing another commit.
> Even more unfortunately, changing the commit message after having commited
> isn't really an option (it's not important enough to change history).
>
> My next best idea was to make another commit right after the faulty one, with
> an empty changeset and a commit message explaining the previous error. But
> svn silently ignores my attempts to this end.
>
> I'm using the commandline client from Debian:
> svn, version 1.6.12 (r955767)
> compiled May 31 2011, 19:23:20
>
> Thanks,
> Jö.
>
> --
> 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
>
> Of all the things I've lost, I miss my mind the most.
> -- Ozzy Osbourne
Received on 2011-11-07 22:58:59 CET