aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-04-05 14:34:06 +0100
committerMatthew Wild <mwild1@gmail.com>2011-04-05 14:34:06 +0100
commit747f5e7ccf990ad014969251fe3c8ecce95226ff (patch)
tree2d3085aa1b4bfc83207f18f0a75e834c4825f339
parent667fc392e957df71290b5b36f86e964ac939fd5e (diff)
downloadprosody-747f5e7ccf990ad014969251fe3c8ecce95226ff.tar.gz
prosody-747f5e7ccf990ad014969251fe3c8ecce95226ff.zip
tools/migration/prosody-migrator.lua: Add messages to show when migration is in progress
-rw-r--r--tools/migration/prosody-migrator.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua
index feebe484..2a8bf1c3 100644
--- a/tools/migration/prosody-migrator.lua
+++ b/tools/migration/prosody-migrator.lua
@@ -125,9 +125,10 @@ local writer = require("migrator."..otype).writer(config[to_store]);
local json = require "util.json";
+io.stderr:write("Migrating...\n");
for x in reader do
--print(json.encode(x))
writer(x);
end
writer(nil); -- close
-
+io.stderr:write("Done!\n");