# HG changeset patch # User Paul Boddie # Date 1383336590 -3600 # Node ID 47a46a1da7386166c5e5719e867c0db35ab52d21 # Parent 28a7c5cc9e2910e0297fd895d45b1a29851a2b8e Fixed the application of mtime in addrevision again. diff -r 28a7c5cc9e29 -r 47a46a1da738 patches/patch-moin-1.9-MoinMoin-packages.diff --- a/patches/patch-moin-1.9-MoinMoin-packages.diff Fri Nov 01 19:44:37 2013 +0100 +++ b/patches/patch-moin-1.9-MoinMoin-packages.diff Fri Nov 01 21:09:50 2013 +0100 @@ -1,6 +1,6 @@ -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:43:59 2013 +0100 +diff -r d0f5d4b70647 MoinMoin/packages.py +--- a/MoinMoin/packages.py Sat Jul 20 00:03:25 2013 +0200 ++++ b/MoinMoin/packages.py Fri Nov 01 21:04:48 2013 +0100 @@ -96,6 +96,10 @@ """ return (string.lower() in ('yes', 'true', '1')) @@ -39,18 +39,15 @@ """ Adds a revision to a page. @param filename: name of the file in this package -@@ -298,9 +302,9 @@ +@@ -298,7 +302,7 @@ _ = self.request.getText trivial = str2boolean(trivial) if self.request.user.may.write(pagename): - page = PageEditor(self.request, pagename, do_editor_backup=0) -+ page = PageEditor(self.request, pagename, do_editor_backup=0, uid_override=author) ++ page = PageEditor(self.request, pagename, do_editor_backup=0, uid_override=author, mtime=mtime) try: -- page.saveText(self.extract_file(filename).decode("utf-8"), 0, trivial=trivial, comment=comment) -+ page.saveText(self.extract_file(filename).decode("utf-8"), 0, trivial=trivial, comment=comment, mtime=mtime) + page.saveText(self.extract_file(filename).decode("utf-8"), 0, trivial=trivial, comment=comment) except PageEditor.Unchanged: - pass - else: @@ -555,6 +559,7 @@ # Setup MoinMoin environment from MoinMoin.web.contexts import ScriptContext