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

Re: post commit hook to update a changelist file

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Tue, 7 Apr 2009 10:08:30 -0700

On Tue, Apr 07, 2009 at 09:38:18AM -0700, Listman wrote:
> it would be nice to have subversion automatically update the CHANGEs
> file with the text-description provided with each commit. then when we
> make a release we have a starting point for the release notes.

Is there a reason you want to do this incrementally instead of all at
the end? I would use:

svn log -r${FIRST_REVISION_IN_THIS_RELEASE}:${LAST_REVISION_IN_THIS_RELEASE}

with appropriate flags and text mangling to generate the release notes.
You could use tags to represent the ${REVISION} variables I used above.

tyler
Received on 2009-04-07 19:09:34 CEST

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.