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

Re: modifying a transaction log message

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2005-11-24 11:38:21 CET

On Thu, 24 Nov 2005 10:19:00 +0000, Nick Thompson
<nickthompson@agere.com> wrote:

>What I'd like the do is:
>
> svn commit -m bugid:4582
>
>and then have a hook script ask a CRM program for headline text for
>the given bug and add it to the transaction log.
>
>Why might that be a problem?

That wouldn't be a problem - you're changing a revision property not a
revision - see
http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.2 and
http://svnbook.red-bean.com/en/1.1/re23.html though take in to account
the "Note" at the bottom of the latter. As you can edit a revprop on a
URL, you won't even need to check out a local working copy as part of
your hook.

That said, most people seem to take the message from the commit and
add that to the issue tracking system, rather than the other way
around. You may want to consider if that is the right way for you.

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 24 11:41:23 2005

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.