Ticket #6567 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Add revision info to macro

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

(follow-up: ↓ 2 ) 08/27/10 20:31:26 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.

(in reply to: ↑ 1 ) 08/30/10 02:40:25 changed by TerryBrown

Replying to 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.

Sure - I think I started looking at what you were asking before and didn't immediately see where to do it, so by all means, go ahead.

Thanks,

08/30/10 02:48:21 changed by rjollos

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

(In [8515]) Add revision info to macro. Fixes #6567.


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




Change Properties
Action