[Note: re-ordered for reading...]

>       On Fri, Aug 30, 2013 at 4:22 PM, Kiko Lopes 
> <[email protected]> wrote:
>       
> 
>               Hello
> 
>               Someone may help me? There are a way to get the 
> entire commit message to write it in a comment of the related ticket?
> 
>               Tnk a lot,
> 
>               Carlos Lopes
>               
> 2013/8/31 Chris Shelton <[email protected]>
> 
> 
>       Carlos,
> 
>       This page should give you instructions for setting up a 
> post-commit hook script to allow commit messages containing a 
> ticket reference to create a comment on the related ticket.
> 
>       http://trac.edgewall.org/wiki/TracRepositoryAdmin#ExplicitSync
>       
> 
>       chris
> 
> -----Original Message-----
> From: [email protected] On Behalf Of Kiko Lopes
> Sent: 02 September 2013 13:32
> To: [email protected]
> Subject: Re: [Trac] CommitTicketUpdater
> 
> Sorry Chris, but the sync already being done. 

May not be a problem, see below...

> What I need is, in the commit hook, to obtain the entire text 
> typed in svn commit and write it in trac comment. 

Chris' link will help you to setup the post-commit hook required for the trac 
commit updater to work.  This will auto-insert the commit message into the 
ticket comments when relevant tokens [1] are present in the commit message.

Once the post-commit is setup you will need to use trac-admin to `repository 
resync` [2] the repository.  This can be done for specific revisions if 
required (e.g. after editing the commit message).

[1] http://trac.edgewall.org/wiki/CommitTicketUpdater#Configure
[2] http://trac.edgewall.org/wiki/TracAdmin

~ mark c

> And I tryed to search but couldn't find this information in 
> the help of trac, or help from svn.
> 
> Tnx for help.
> 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to