Modify ↓
#6574 closed enhancement (fixed)
Add revision info to macro
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | DailyLolMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Trac 0.12 allows revision info for plugins and macros to be displayed on the About page. For single file macros, revision info is made available by including the following two lines below the section of import
statements:
revison="$Rev$" url="$URL$"
and applying the following svn:keywords properties:
svn propset svn:keywords "LastChangedRevision HeadURL" <filename>.py
For example, see changelogmacro/0.11/ChangeLogMacro.py@7473:9-10.
Attachments (0)
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Go for it. I don't get a chance to play with Trac much right now and haven't seen trac .12. Do what you need to.
Hopefully the plugin even still works.
comment:3 Changed 14 years ago by
Owner: | changed from Brian to Ryan J Ollos |
---|
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
I'd like to make this change, and have global rw access to t-h.o, so please post a quick message if you are okay with this harmless change.