Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Tero Tilus <tero@tilus.net>
To: sup-devel <sup-devel@rubyforge.org>
Subject: [sup-devel] [PATCH] Make sup-tweak-labels work as advertised with no sources listed
Date: Wed, 30 Dec 2009 05:09:19 +0200	[thread overview]
Message-ID: <1262142124-sup-1397@tilus.net> (raw)

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


             reply	other threads:[~2009-12-30  3:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30  3:09 Tero Tilus [this message]
2009-12-31 19:08 ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1262142124-sup-1397@tilus.net \
    --to=tero@tilus.net \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox