]> git.notmuchmail.org Git - sup/commitdiff
output cleanups
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 3 Jan 2007 06:10:36 +0000 (06:10 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 3 Jan 2007 06:10:36 +0000 (06:10 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@150 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup-import

index 6ba06d66562a7eabebeeb630922f5844b3cbab64..0982aec5d893981d21719c3826174c3bb6634d87 100644 (file)
@@ -76,7 +76,7 @@ def get_login_info uri, sources
 
   username, password = nil, nil
   unless accounts.empty?
-    say "Would you like to use the same account as for a previous source?"
+    say "Would you like to use the same account as for a previous source for #{uri}?"
     choose do |menu|
       accounts.each do |host, olduser, oldpw|
         menu.choice("Use the account info for #{olduser}@#{host}") { username, password = olduser, oldpw }
@@ -180,7 +180,7 @@ begin
         end
 
         m.remove_label :unread if m.status == "RO" unless force_read
-        puts "# message at #{offset}, labels: #{labels * ', '}"
+        puts "# message at #{offset}, labels: #{labels * ', '}" unless rebuild
         if (rebuild || force_rebuild) && 
             (docid, entry = index.load_entry_for_id(m.id)) && entry
           if force_rebuild || entry[:source_info].to_i != offset