Modify

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#11054 closed defect (worksforme)

Double record in Change History block in Ticket

Reported by: Dino Owned by: mrelbe
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 20 months ago.
Double record

Download all attachments as: .zip

Change History (6)

Changed 20 months ago by Dino

Double record

comment:1 Changed 20 months ago by rjollos

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 20 months ago by mrelbe

  • Resolution set to worksforme
  • Status changed from new to closed

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 20 months ago by rjollos

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 20 months ago by rjollos

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

comment:5 Changed 20 months ago by mrelbe

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

Add Comment

Modify Ticket

Action
as closed The owner will remain mrelbe.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.