Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#11054 closed defect (worksforme)

Double record in Change History block in Ticket

Reported by: Dino Owned by: Mikael Relbe
Priority: high Component: TracTicketChangesetsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.12

Description

When I enable TracTicketChangesetsPlugin I have double records in Change History block like that :

comment:17 Changed 06/05/2013 16:33:00 by Dino

[65576]:

@see #17 Test encore et encore ;) et encore

comment:18 Changed 06/05/2013 16:33:00 by Dino

In 65576:

@see #17 Test encore et encore ;) et encore

I have only one SVN Hook like : @trac-admin /path/to/env changeset modified "%REPOS" "%REV%"

Could you help me please ?

Thanks ;)

Attachments (1)

hook_svn.JPG (42.6 KB) - added by Dino 12 years ago.
Double record

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Dino

Attachment: hook_svn.JPG added

Double record

comment:1 Changed 12 years ago by Ryan J Ollos

You probably have tracopt.ticket.commit_updater.* enabled. Just from reading the project page, it sounds like you should set:

[ticket-changesets]
ticket_comments = false

comment:2 in reply to:  description Changed 12 years ago by Mikael Relbe

Resolution: worksforme
Status: newclosed

Replying to Dino:

When I enable TracTicketChangesetsPlugin I have double records in Change History block like that :

comment:17 Changed 06/05/2013 16:33:00 by Dino
   [65576]:
 @see #17
 Test encore et encore ;) et encore
 comment:18 Changed 06/05/2013 16:33:00 by Dino 
   In 65576:
 @see #17
 Test encore et encore ;) et encore

These two records are not the same (look at the 2nd row of each example), the first is produced by this plugin, the second is produced by tracopt.ticket.commit_updater.*

So another way to solve this, as compared to rjollos proposal, is to disable the tracopt version:

[components]
tracopt.ticket.commit_updater.* = disabled

comment:3 Changed 12 years ago by Ryan J Ollos

I attempted to add a small bit to the documentation to make the two options clear. Let me know if you have any further suggestions, wiki/TracTicketChangesetsPlugin.

comment:4 Changed 12 years ago by Ryan J Ollos

... and fixed my typo from the first edit: wiki/TracTicketChangesetsPlugin

comment:5 Changed 12 years ago by Mikael Relbe

Why didn't I think of that... Thank you Ryan!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Mikael Relbe.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.