Modify

Opened 19 years ago

Closed 14 years ago

#327 closed enhancement (fixed)

[Patch] ChangeLog from a specific revision range

Reported by: amartin Owned by: Ryan J Ollos
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 17 years ago.
patch for 0.11 and torev

Download all attachments as: .zip

Change History (11)

comment:1 Changed 19 years ago by Alec Thomas

Status: newassigned

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

comment:2 Changed 19 years ago by Patrick Martin

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 19 years ago by Christian Boos

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 17 years ago by DiGi

Attachment: ChangeLog-11.patch added

patch for 0.11 and torev

comment:4 Changed 17 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 16 years ago by Alec Thomas

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

comment:6 Changed 15 years ago by Ryan J Ollos

Summary: ChangeLog from a specific revision[Patch] ChangeLog from a specific revision range

comment:7 Changed 15 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos
Status: assignednew

Changing ticket owner since I have adopted the plugin.

comment:8 Changed 15 years ago by Ryan J Ollos

Component: ChangeLogPluginChangeLogMacro

comment:9 Changed 14 years ago by Mikael Relbe

#7242 suggests an alternative patch for Trac 0.12

comment:10 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Fixed in #7242 for 0.12 branch.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.