[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: lorenz <lorenznl_at_yahoo.com>
Date: Wed, 08 Apr 2009 08:24:05 +0000

Listman wrote:
>Hi Tyler, thx for you response
>On Apr 7, 2009, at 10:08 AM- Apr 7, 2009, Tyler Roscoe wrote:
>[...]
>> 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.
>>
>
>i'd like to use tags but i can't seem to get the syntax right:
>
>our release tags live here
>
>Unix> svn ls http://www.ourcorp.com/svn/versic/builds
>0.1
>0.2
>0.3
>0.4
>1.0
>1.1
>
>what syntax should i use to get the list of commit messages from 1.0
>to 1.1 in this example?

as far as I know, there is no build in functionality for that.

You will need to parse 'svn log -v <tag-url>' to find the trunk
revision the tag was created from.

-- 
Lorenz
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1592708
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 10:25:10 CEST

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