From e28b5a5d3977579d8b70e55836ae060e393c4987 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 30 Jan 2012 12:54:16 -0500 Subject: [PATCH] lets put a doc note here for now since everyone is going to get this issue --- alembic/script.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alembic/script.py b/alembic/script.py index 2ca7f2b1..5598b78f 100644 --- a/alembic/script.py +++ b/alembic/script.py @@ -267,7 +267,8 @@ class Script(object): raise util.CommandError( "Could not determine revision id from filename %s. " "Be sure the 'revision' variable is " - "declared inside the script." % filename) + "declared inside the script (please see 'Upgrading " + "from Alembic 0.1 to 0.2' in the documentation)." % filename) else: revision = m.group(1) else: -- 2.47.2