On Thu, Jun 17, 2010 at 7:15 AM, Zaar Hai <[email protected]> wrote:
[ ... ]

> I want to track revisions
> that are related to the ticket. I've accomplished it with trac-post-
> commit-hook, that adds ticket comments for appropriate commits.

Now, when all related revisions are noted in the ticket, I need to
> merge this whole bunch of revisions to another svn branch. Currently,
> I have to go over all ticket comments, extract (by hand) all of the
> mentioned revisions and merge them one by one.
> This task is tedious. May someone have better solution of how to
> manage ticket-related revisions, with regards of merging them to
> another branch.
>

I will be facing a similar problem soon.  The strategy I've been thinking of
is to add a custom field for the revisions that are involved in fixing a
particular ticket, then modifying the post-commit hook to update this field
in the ticket.  The field can still be edited manually in case of mistakes.

Then it would be straightforward to write a script to get the revisions over
XML-RPC and do the appropriate "svn merge" commands.

Hope this is helpful.  Please let us know what solution you end up with!

-----Scott.

-- 
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