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

Re: pre commit hook changing the transaction

From: Torsten Curdt <tcurdt_at_apache.org>
Date: 2004-11-01 11:24:10 CET

>>>To be dangerously accurate:
>>>
>>>It's *possible*, in that nothing (except the warning signs all over
>>>pre-commit.tmpl) will stop you from doing it. But you shouldn't do
>>>it, because the result in the committer's working copy would be
>>>unpredictable.
>>>
>>>
>>>
>>>
>>Ah ...sure ...that makes sense!
>>Hope we can find a different way.
>>
>>
I was wondering... can at least the commit message be
changed by the pre commit hook? As a first work around
we then could transform the message into a XML fragment.
So in the end the log file looks like this:

 <logentry revision="26586">
  <author>tcurdt</author>
  <date>2003-12-05T13:59:01.000000Z</date>
  <msg>

    <changelog type="fix" bug-id="12345"/> <-------

    This fixes the bla problem
  </msg>
 </logentry>

cheers

--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 1 11:22:21 2004

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