commit df150301d2d039f7b70d2bef7be671d45bbb290f
parent b32f73dd2bdcca2480a364e7cd43ac738648bc87
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Tue, 25 May 2010 20:38:26 -0700
fix index version error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
@@ -109,7 +109,7 @@ EOS
info "Upgrading index format #{db_version} to #{INDEX_VERSION}"
@xapian.set_metadata 'version', INDEX_VERSION
elsif db_version != INDEX_VERSION
- fail "This Sup version expects a v#{INDEX_VERSION} index, but you have an existing v#{db_version} index. Please downgrade to your previous version and dump your labels before upgrading to this version (then run sup-sync --restore)."
+ fail "This Sup version expects a v#{INDEX_VERSION} index, but you have an existing v#{db_version} index. Please run sup-dump to save your labels, move #{SUP_BASE}/xapian out of the way, and run sup-sync --restore."
end
else
@xapian = Xapian::WritableDatabase.new(path, Xapian::DB_CREATE)