-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03.01.2015 08:20, Leho Kraav wrote:
> On 03.01.2015 00:48, RjOllos wrote:
>> On Sunday, December 21, 2014 3:47:49 PM UTC-8, Leho Kraav wrote:
>>
>>     I'm thinking something like this for a macro
>>
>>     [[Diff(repository:revision)]]
>>
>>     Does anything similar to this already exist? th is taking about 5
>>     minutes to load any page, can't check hack index.
>>
>>
>> Just to be sure, you want to display the diff, and not just the log
>> message? I haven't seen anything like that on t-h.o, but a Changeset
>> macro would be a valuable addition to Trac.
>>
> 
> Yeah. 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.
> 

Feels like most of the required logic is already in Trac core, but has
to get rendered inline for the wiki macro call rather than dedicated
changeset page.

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.
Steffen Hoffmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlSnng8ACgkQ31DJeiZFuHfV4wCgxw85Fd9/5Vto5wibIPuDhtEy
r2sAnj7U8Fcg8FamzdCghg0pRAjF9pxf
=QMyJ
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to