changeset 4098:835b506597fe

add dummy migration scripts for 1.8.0
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 14 Sep 2008 16:05:03 +0200
parents dccbb24ba73f
children 4fb9d1d39876
files MoinMoin/script/migration/1070200.py MoinMoin/script/migration/1080000.py
diffstat 2 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1070200.py	Sun Sep 14 16:02:48 2008 +0200
+++ b/MoinMoin/script/migration/1070200.py	Sun Sep 14 16:05:03 2008 +0200
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1070200
 
-    This must be the last migration script.
+    Nothing to do, we just return the new data dir revision.
 
-    @copyright: 2006 by Thomas Waldmann
+    @copyright: 2008 by Thomas Waldmann
     @license: GNU GPL, see COPYING for details.
 """
 
 def execute(script, data_dir, rev):
-    return None
+    return 1080000
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1080000.py	Sun Sep 14 16:05:03 2008 +0200
@@ -0,0 +1,13 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - dummy migration terminator script
+
+    This must be the last migration script.
+
+    @copyright: 2006 by Thomas Waldmann
+    @license: GNU GPL, see COPYING for details.
+"""
+
+def execute(script, data_dir, rev):
+    return None
+