On Sun, Jun 20, 2010 at 9:13 AM, Zaar Hai <[email protected]> wrote:

>
>
> On Jun 17, 4:37 pm, Erik Andersson <[email protected]> wrote:
> > Or, you could create a script that executes svn log and finds all commits
> > for a specified ticket?
> Yes, this option sounds nice! I can borrow code from trac-post-commit
> hook that parses svn comments.
> The problem is that sometimes users forget to add ticket reference in
> commit messages... Then I probably have to parse ticket logs, which
> makes my mission difficult, since comments may mention revisions that
> are not necessarily relate to my ticket.
>

We enforce supplying a ticket number first thing and checks that in
pre-commit. Commit messages always must look like: "#NNNN <message>" With
that a script to get all relevant commits should be easy.

Cheers / Erik


> Thanks for the hint!
>
> --
> Zaar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<trac-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to