Modify

Opened 8 years ago

Closed 3 years ago

#327 closed enhancement (fixed)

[Patch] ChangeLog from a specific revision range

Reported by: amartin Owned by: rjollos
Priority: normal Component: ChangeLogMacro
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description

It would be nice to be able to output the changelog between 2 revisions so that you can display changes between 2 versions

Attachments (1)

ChangeLog-11.patch (3.1 KB) - added by DiGi 7 years ago.
patch for 0.11 and torev

Download all attachments as: .zip

Change History (11)

comment:1 Changed 8 years ago by athomas

  • Status changed from new to assigned

True, that could be useful. If you're not aware, you can also link to logs with log:tracistanplugin@696:697.

comment:2 Changed 8 years ago by patrickm

I think this is possible in the .10 dev version of Trac, as there is now a "View Changes" button that appears in the browser, where you can enter the SVN URL and the revisions.

The parameters are (almost all) in the URL, so I can do
this:

http://projects.edgewall.com/trac/changeset?old_path=branches%2F0.8-stable&old=3320&new_path=branches%2F0.9-stable&new=3320

comment:3 Changed 8 years ago by cboos

I think this is possible in the .10 dev version of Trac
...
http://projects.edgewall.com/trac/changeset...

A better way to produce the above link is to use diff:branches/0.8-stable//branches/0.9-stable,
or, in general, diff:<old>@rev1//<new>@rev2
(rev1 and rev2 defaulting to latest when omitted).

Note also that for now, InterTrac links don't support that
(e.g. trac:diff:branches/0.8-stable//branches/0.9-stable
doesn't work currently).

Changed 7 years ago by DiGi

patch for 0.11 and torev

comment:4 Changed 7 years ago by DiGi

I made fixed version:

  1. For Trac 0.11
  2. Have torev - for selections like [[ChangeLog(/path,0,1850,1810)]]

File: ChangeLog-11.patch

digi+trachacks-removethis@…

comment:5 Changed 6 years ago by athomas

This patch no longer applies to current changelog trunk. Please update the patch and I'll apply it.

comment:6 Changed 5 years ago by rjollos

  • Summary changed from ChangeLog from a specific revision to [Patch] ChangeLog from a specific revision range

comment:7 Changed 5 years ago by rjollos

  • Owner changed from athomas to rjollos
  • Status changed from assigned to new

Changing ticket owner since I have adopted the plugin.

comment:8 Changed 5 years ago by rjollos

  • Component changed from ChangeLogPlugin to ChangeLogMacro

comment:9 Changed 4 years ago by mrelbe

#7242 suggests an alternative patch for Trac 0.12

comment:10 Changed 3 years ago by rjollos

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

Fixed in #7242 for 0.12 branch.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
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.