# HG changeset patch # User Paul Boddie # Date 1383330616 -3600 # Node ID df5d43ec612facbd2c1718a881d29c16efbccb3e # Parent 82ae549b2116c32bc7091b882c9a44f8b49c8d06 Added mtime to the addrevision action. diff -r 82ae549b2116 -r df5d43ec612f patches/patch-moin-1.9-MoinMoin-packages.diff --- a/patches/patch-moin-1.9-MoinMoin-packages.diff Thu Oct 17 20:20:10 2013 +0200 +++ b/patches/patch-moin-1.9-MoinMoin-packages.diff Fri Nov 01 19:30:16 2013 +0100 @@ -1,17 +1,26 @@ -diff -r 73f9cf05b8d9 MoinMoin/packages.py ---- a/MoinMoin/packages.py Tue Jul 16 18:05:08 2013 +0200 -+++ b/MoinMoin/packages.py Wed Jul 17 15:44:11 2013 +0200 -@@ -95,6 +95,10 @@ - truth literals. +diff -r 77533e162654 MoinMoin/packages.py +--- a/MoinMoin/packages.py Tue Aug 13 12:17:47 2013 +0200 ++++ b/MoinMoin/packages.py Fri Nov 01 19:28:42 2013 +0100 +@@ -96,6 +96,10 @@ """ return (string.lower() in ('yes', 'true', '1')) -+ + +class IAmRoot(object): + def __getattr__(self, name): + return lambda *args, **kwargs: True - ++ class ScriptEngine: """ + The script engine supplies the needed commands to execute the installation +@@ -286,7 +290,7 @@ + + self.msg += package.msg + +- def do_addrevision(self, filename, pagename, author=u"Scripting Subsystem", comment=u"", trivial=u"No"): ++ def do_addrevision(self, filename, pagename, author=u"Scripting Subsystem", comment=u"", trivial=u"No", mtime=None): + """ Adds a revision to a page. + + @param filename: name of the file in this package @@ -298,7 +302,7 @@ _ = self.request.getText trivial = str2boolean(trivial)