commit ba216f7a19b137ccf953abdcf32e714d0a58fd6b
parent df150301d2d039f7b70d2bef7be671d45bbb290f
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Fri, 28 May 2010 08:45:33 -0700
fix index version exception 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 run sup-dump to save your labels, move #{SUP_BASE}/xapian out of the way, and 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 #{path} out of the way, and run sup-sync --restore."
end
else
@xapian = Xapian::WritableDatabase.new(path, Xapian::DB_CREATE)