Edgewall Software

Opened 9 years ago

Last modified 3 years ago

#11903 closed enhancement

Create Diff macro — at Initial Version

Reported by: lkraav <leho@…> Owned by:
Priority: normal Milestone:
Component: version control Version:
Severity: normal Keywords: macro
Cc: Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm thinking something like this for a macro

[[Diff(repository:revision)]] 

It can be used for avoiding pasting code into wiki when documenting examples and also as a lightweight, model-free code review tool in ticket comments. With psuter's autocomplete magic from http://trac-hacks.org/intertrac/WikiAutoCompletePlugin picking a revision to use for the macro could be a really nice experience.

If it was so smart to accept a path as optional argument, one could display exactly what is shown at corresponding Trac browser pages when showing diffs reduced to a directory or file.

Related #11865

Trac-users discussion link

Change History (0)

Note: See TracTickets for help on using tickets.