changeset 5951:ba9135fa6c4f

add dummy migration script, update data/meta to 1.9.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 10 Mar 2013 15:24:01 +0100
parents 86614c2358ff
children f6a74810da73
files MoinMoin/script/migration/1090600.py MoinMoin/script/migration/1090700.py wiki/data/meta
diffstat 3 files changed, 18 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1090600.py	Sun Mar 10 15:21:10 2013 +0100
+++ b/MoinMoin/script/migration/1090600.py	Sun Mar 10 15:24:01 2013 +0100
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1090600
 
-    This must be the last migration script.
+    Nothing to do, we just return the new data dir revision.
 
-    @copyright: 2008 by Thomas Waldmann
+    @copyright: 2013 by Thomas Waldmann
     @license: GNU GPL, see COPYING for details.
 """
 
 def execute(script, data_dir, rev):
-    return None
+    return 1090700
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1090700.py	Sun Mar 10 15:24:01 2013 +0100
@@ -0,0 +1,13 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - dummy migration terminator script
+
+    This must be the last migration script.
+
+    @copyright: 2008 by Thomas Waldmann
+    @license: GNU GPL, see COPYING for details.
+"""
+
+def execute(script, data_dir, rev):
+    return None
+
--- a/wiki/data/meta	Sun Mar 10 15:21:10 2013 +0100
+++ b/wiki/data/meta	Sun Mar 10 15:24:01 2013 +0100
@@ -1,1 +1,1 @@
-data_format_revision: 1090600
+data_format_revision: 1090700