Don't display version or revision in single-file plugin if keyword is not expanded
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Description (last modified by )
Single-file plugins use the
revision module attributes to specify the plugin version, and this version is displayed on the plugin admin page: trunk/trac/loader.py?rev=12785&marks=182-185#L179.
The attributes may be set to an svn keyword that gets expanded, however the svn keyword won't get expanded if the source is downloaded in a zip, or the SVN repository is cloned to Git. This leads to only Rev being displayed. In this case, it would be better to display nothing.