changeset 4078:34514c7887e2

add 1.7.2 dummy migration script
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 08 Sep 2008 00:24:57 +0200
parents a1f682e8f8f8
children 4a688e959bf6
files MoinMoin/script/migration/1070100.py MoinMoin/script/migration/1070200.py
diffstat 2 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/migration/1070100.py	Mon Sep 08 00:07:23 2008 +0200
+++ b/MoinMoin/script/migration/1070100.py	Mon Sep 08 00:24:57 2008 +0200
@@ -1,13 +1,13 @@
 # -*- coding: iso-8859-1 -*-
 """
-    MoinMoin - dummy migration terminator script
+    MoinMoin - migration from base rev 1070100
 
-    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 1070200
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/script/migration/1070200.py	Mon Sep 08 00:24:57 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
+