From e7564108c7e68094f1a6320f4166185a3e29cac1 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Tue, 30 Aug 2022 11:19:07 -0400 Subject: ez: reimplement --resend Instead of --resend just being a flag to add a RESEND prefix, allow us to actually resend a previously sent series using the tag we have applied and stored in sent/. E.g. if we have previously sent a v2, thus automatically rerolling a v3, we can resend a v2 again without needing to do anything else by using: b4 send --resend v2 alternatively, we can use a full tag name: b4 send --resend sent/some-series-topic-v2 Signed-off-by: Konstantin Ryabitsev --- b4/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'b4/command.py') diff --git a/b4/command.py b/b4/command.py index 1678d45..7eb7700 100644 --- a/b4/command.py +++ b/b4/command.py @@ -298,8 +298,8 @@ def cmd(): sp_send.add_argument('--cc', nargs='+', help='Addresses to add to the Cc: list') sp_send.add_argument('--not-me-too', action='store_true', default=False, help='Remove yourself from the To: or Cc: list') - sp_send.add_argument('--resend', action='store_true', default=False, - help='This is a resend of a previously sent series') + sp_send.add_argument('--resend', default=None, + help='Resend a previously sent version of the series') sp_send.add_argument('--no-sign', action='store_true', default=False, help='Do not cryptographically sign your patches with patatt') ag_sendh = sp_send.add_argument_group('Web submission', 'Authenticate with the web submission endpoint') -- cgit v1.2.3