From 2ab6ac5211198d8203ddcdf2cc47e84ca4c2aae3 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 26 Jun 2012 09:18:19 +0000 Subject: Allow to pass a rev list to send-patches --- (limited to 'scripts') diff --git a/scripts/shell/send-patches b/scripts/shell/send-patches index 62c1519..e15aaa8 100755 --- a/scripts/shell/send-patches +++ b/scripts/shell/send-patches @@ -86,6 +86,7 @@ def setup(): parser = argparse.ArgumentParser() parser.add_argument("--setup", action="store_true", help="interactive configuration") +parser.add_argument('rev_list', nargs='?', default='origin') args = parser.parse_args() @@ -96,4 +97,4 @@ subprocess.call(["git", "send-email", "-from", get_from(), "-to", "sugar-devel ", "--subject-prefix", "PATCH %s" % get_module(), - "origin"]) + args.rev_list]) -- cgit v0.9.1