I've added a custom ticket field called "Changes" to my Trac
environment and I hacked Trac to support Wiki formatting in custom
fields. I had to copy/paste code from a patch, as the patch wouldn't
apply for me. I've also modified the post-commit hook to write change
set details to this field, for example:

test.py 20,21,22 (19->22)
README.TXT 20,21,22 (19->22)

It shows the path that was modified, the versions created under the
current ticket and the version numbers for the base and last modified.
If that makes sense.

What I want to do is make these clickable links so that when you click
on the '20' for test.py, it'll show you a diff for test.py versions 19
vs 20. Likewise clicking '19->20' will take you to a diff of the
overall changes for this file under this particular ticket.

What do I use, or how do I format these links to point to something
like:

http://localhost/trac/support/[email protected]&[email protected]

Is there a standard method of doing this? I could modify the ticket
template but I'm not sure how to format it relative to the site's URL.

Any suggestions appreciated.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to