[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Creating commits with empty changesets

From: Giulio Troccoli <giulio.troccoli_at_mediatelgroup.co.uk>
Date: Tue, 08 Nov 2011 09:05:39 +0000

On 07/11/11 21:34, Jö Fahlke wrote:
> 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ö.

I really don't understand why you can't use

svn pe svn:log <filename>

This doesn't change history, the commit you did doesn't change. You're
only correcting a mistake in the message.
Received on 2011-11-08 10:06:15 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.