Exclude dotted revno revisions from timeline?

Asked by Alexander Belchenko on 2010-04-08

I'm using Trac 0.10.5 + trac-bzr 0.3.2 from your egg.

I've noticed that timeline now shows not only mainline revisions, but also merged revisions (which has dotted revno). IIRC, in older trac-bzr versions those merged revisions have not been shown. Is it changed in some recent release (0.3.x) or I have false memory?

Also, is it possible to turn merged revisions off from timeline somehow?

Question information

Language:
English Edit question
Status:
Solved
For:
Trac-Bzr Edit question
Assignee:
No assignee Edit question
Solved by:
Martin von Gagern
Solved:
2010-04-09
Last query:
2010-04-09
Last reply:
2010-04-09
Best Martin von Gagern (gagern) said : #1

The behaviour your describe is due to the addition of get_changesets in http://bazaar.launchpad.net/~trac-bzr-team/trac-bzr/trunk/revision/85 and included since the 0.3.0 release. The intention was that all commits are activity on the branch, not just the merges.

I can think of no easy way to implement a switch for this. To do so, we would have to tweak the user interface Trac generates, and we would also have to override the ITimelineEventProvider functionality of the Trac ChangesetModule.

Suggestions about how this might be addressed are welcome, as always.

Alexander Belchenko (bialix) said : #2

I will be happy with any config file approach. But I don't have any specific proposals. Thanks for the answer.

Alexander Belchenko (bialix) said : #3

Thanks Martin von Gagern, that solved my question.

Martin von Gagern (gagern) said : #4

Added a config option include_sideline_changes for the 0.3.3 release:
http://bazaar.launchpad.net/~trac-bzr-team/trac-bzr/0.3/revision/115