changeset 5334:75e7f7d87d5c

add dummy migration script
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 29 Nov 2009 22:26:26 +0100
parents 2cabbada21f4
children b62463fa39ae
files MoinMoin/script/migration/1080500.py MoinMoin/script/migration/1080600.py
diffstat 2 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1080500.py	Sun Nov 29 22:25:11 2009 +0100
+++ b/MoinMoin/script/migration/1080500.py	Sun Nov 29 22:26:26 2009 +0100
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1080500
 
-    This must be the last migration script.
+    Nothing to do, we just return the new data dir revision.
 
-    @copyright: 2008 by Thomas Waldmann
+    @copyright: 2009 by Thomas Waldmann
     @license: GNU GPL, see COPYING for details.
 """
 
 def execute(script, data_dir, rev):
-    return None
+    return 1080600
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1080600.py	Sun Nov 29 22:26:26 2009 +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
+