Modify

Opened 15 years ago

Closed 14 years ago

Last modified 12 years ago

#6560 closed enhancement (fixed)

Add revision info to macro

Reported by: Ryan J Ollos Owned by: Guillermo M Narvaja
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 (0)

Change History (4)

comment:1 Changed 14 years ago by Ryan J Ollos

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.

comment:2 Changed 14 years ago by anonymous

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

comment:3 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

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

comment:4 Changed 12 years ago by Ryan J Ollos

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Guillermo M Narvaja.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.