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

Re: Change the log message for a transaction BEFORE it's be committed?

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 4 Feb 2009 09:52:52 -0500

On Wed, Feb 4, 2009 at 9:47 AM, Reedick, Andrew <jr9445_at_att.com> wrote:
>> -----Original Message-----
>> From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
>> Sent: Wednesday, February 04, 2009 3:53 AM
>> To: Reedick, Andrew
>> Cc: blackhole_at_collab.net; users_at_subversion.tigris.org
>> Subject: Re: Change the log message for a transaction BEFORE it's be
>> committed?
>>
>>
>> Right, you can easily change the log message in the post-commit
>> script using "svnadmin setlog".
>>
>> In the pre-commit script you don't have a revision yet; you have a
>> transaction, and there is no command-line program that lets you
>> change the log message of a transaction. However I believe you can do
>> it if you write a program using one of the Subversion language
>> bindings (Python, Perl, etc.)
>
>
> Wait a minute. I thought the official line was that modifying a
> transaction was a bad thing?

It is OK to modify the revision properties (log, author, date) just
not the versioned contents.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1102532
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-04 15:53:41 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.