changeset 5836:0265eec31d99

add migration script for moin 1.8.9
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 27 Apr 2012 22:06:44 +0200
parents 1ddf7d88c53d
children fb2a2ecd35c2
files MoinMoin/script/migration/1080800.py MoinMoin/script/migration/1080900.py
diffstat 2 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1080800.py	Thu Mar 01 00:15:41 2012 +0100
+++ b/MoinMoin/script/migration/1080800.py	Fri Apr 27 22:06:44 2012 +0200
@@ -9,5 +9,5 @@
 """
 
 def execute(script, data_dir, rev):
-    return 1089999
+    return 1080900
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1080900.py	Fri Apr 27 22:06:44 2012 +0200
@@ -0,0 +1,13 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - migration from base rev 1080900
+
+    Nothing to do, we just return the new data dir revision.
+
+    @copyright: 2012 by Thomas Waldmann
+    @license: GNU GPL, see COPYING for details.
+"""
+
+def execute(script, data_dir, rev):
+    return 1089999
+