Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] [PATCH] Make sup-tweak-labels work as advertised with no sources listed
@ 2009-12-30  3:09 Tero Tilus
  2009-12-31 19:08 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Tero Tilus @ 2009-12-30  3:09 UTC (permalink / raw)
  To: sup-devel

Signed-off-by: Tero Tilus <tero@tilus.net>
---

It is checked later (line 68) on if there were any sources to work
with.  This 'if ARGV.empty?' just prevents using sup-tweak-labels for
all sources.

 bin/sup-tweak-labels |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/bin/sup-tweak-labels b/bin/sup-tweak-labels
index 90f6a57..9bb97b2 100755
--- a/bin/sup-tweak-labels
+++ b/bin/sup-tweak-labels
@@ -58,7 +58,6 @@ add_labels = opts[:add].to_set_of_symbols ","
 remove_labels = opts[:remove].to_set_of_symbols ","
 
 Trollop::die "nothing to do: no labels to add or remove" if add_labels.empty? && remove_labels.empty?
-Trollop::die "no sources specified" if ARGV.empty?
 
 Redwood::start
 index = Redwood::Index.init
-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


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

* Re: [sup-devel] [PATCH] Make sup-tweak-labels work as advertised with no sources listed
  2009-12-30  3:09 [sup-devel] [PATCH] Make sup-tweak-labels work as advertised with no sources listed Tero Tilus
@ 2009-12-31 19:08 ` William Morgan
  0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2009-12-31 19:08 UTC (permalink / raw)
  To: sup-devel

Applied to master, thanks!
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
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:[~2009-12-31 19:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30  3:09 [sup-devel] [PATCH] Make sup-tweak-labels work as advertised with no sources listed Tero Tilus
2009-12-31 19:08 ` William Morgan

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