Changeset 2982
- Timestamp:
- 01/04/08 21:25:55 (8 months ago)
- Files:
-
- changelogplugin/0.11/changelog.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
changelogplugin/0.11/changelog.py
r2981 r2982 8 8 9 9 10 class SourceLogMacro(WikiMacroBase):10 class ChangeLogMacro(WikiMacroBase): 11 11 """ Provides the macro 12 12 13 {{{ 13 [[ SourceLog(path[,limit[,rev]])]]14 [[ChangeLog(path[,limit[,rev]])]] 14 15 }}} 16 15 17 which dumps the change log for path of revision rev, back 16 18 limit revisions. "rev" can be 0 for the latest revision. 19 20 limit and rev may be keyword arguments 17 21 """ 18 22 … … 21 25 args, kwargs = parse_args(content) 22 26 args += [None, None] 23 path, limit, rev = args 27 path, limit, rev = args[:3] 24 28 limit = kwargs.pop('limit', limit) 25 29 rev = kwargs.pop('rev', rev)
