Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] [PATCH] call index.load in sup-add
@ 2010-01-07  3:34 Rich Lane
  2010-01-14 13:55 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Lane @ 2010-01-07  3:34 UTC (permalink / raw)
  To: sup-devel

If it's going to call index.save, it needs to load it first.
---
 bin/sup-add |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bin/sup-add b/bin/sup-add
index c53378d..a7a3752 100755
--- a/bin/sup-add
+++ b/bin/sup-add
@@ -86,6 +86,7 @@ end
 $terminal.wrap_at = :auto
 Redwood::start
 index = Redwood::Index.init
+index.load
 
 index.lock_interactively or exit
 
-- 
1.6.5.2

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-14 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-07  3:34 [sup-devel] [PATCH] call index.load in sup-add Rich Lane
2010-01-14 13:55 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox