Ticket #6560 (closed enhancement: fixed)

Opened 3 years ago

Last modified 1 week ago

Add revision info to macro

Reported by: rjollos Assigned to: gnarvaja
Priority: normal Component: TicketStatsMacro
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

Change History

08/27/10 20:30:59 changed by rjollos

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.

08/27/10 20:54:26 changed by anonymous

Yes, ok. Sorry I had no time to make it by myself.

08/27/10 21:26:00 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

(In [8464]) Add revision info to macro. Fixes #6560.

05/13/13 03:06:35 changed by rjollos

(In [13095]) Refs #6560: Fixed typo in [8464].


Add/Change #6560 (Add revision info to macro)




Change Properties
Action