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

Re: Can you can the message on an revision after the commit?

From: Peter McNab <mcnab_p_at_melbpc.org.au>
Date: 2006-03-03 16:41:04 CET

Jeff Lanzarotta wrote:
> Hello,
>
> I checked in a revision and noticed I made a mistake in the
> message/comment. Is there a way to change the message/comment after the
> revision is already committed?
>
> -Jeff
>
>
See the subversion documentation on installing hook scripts.

The following is a batch file I use to enable editing the log message.

Note. My repo is on D:\svn
------------------------------
@echo off
@echo - >> D:\svn\pre-revprop-change.log
@echo %CMDCMDLINE% >> D:\svn\pre-revprop-change.log
if "%4" == "svn:log" goto good
if not "%4" == "" goto bad
if not "%3" == "svn:log" goto bad
@echo SVN_USER is blank >> D:\svn\pre-revprop-change.log

:good
@echo svn:log changed >> D:\svn\pre-revprop-change.log
exit 0

:bad
@echo svn:log not changed >> D:\svn\pre-revprop-change.log
exit 1
-----------------------------

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Mar 3 16:52:12 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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