changeset 4592:1023d37f101c

adjust migration scripts
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 15 Feb 2009 23:39:25 +0100
parents 9bbea92321dd
children d275bd03a732
files MoinMoin/script/migration/1080200.py MoinMoin/script/migration/1090000.py
diffstat 2 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1080200.py	Sun Feb 15 23:37:12 2009 +0100
+++ b/MoinMoin/script/migration/1080200.py	Sun Feb 15 23:39:25 2009 +0100
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1080200
 
-    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 1089999
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1090000.py	Sun Feb 15 23:39:25 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
+