Changes between Version 31 and Version 32 of TracDev/ApiChanges/0.12
- Timestamp:
- Apr 26, 2010, 9:21:40 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/0.12
v31 v32 147 147 See #7116 for details on the `authz` argument, and #8731 for the `params` argument. 148 148 149 ==== `Repository` revision transformation ^[source:trunk/trac/versioncontrol/api.py@9559:875-882#L857 (0.12)]^ ==== 149 ==== `Repository` revision transformation ^[source:trunk/trac/versioncontrol/api.py@9559:875-882#L857 (0.12)]^ ==== #Repository.display_rev 150 150 151 151 In addition to `Repository.normalize_rev(rev)`, which returns a (unique) normalized representation of the given revision (usually a full revision number or hash), and `Repository.short_rev(rev)`, which returns a short representation of the a revision to be used e.g. for source annotation, a new `Repository.display_rev(rev)` method can be implemented by version control backends to return a representation of a revision suitable for display to the user. By default, `display_rev()` calls `normalize_rev()`.