diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-26 09:18:19 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-06-26 09:18:19 (GMT) |
commit | 2ab6ac5211198d8203ddcdf2cc47e84ca4c2aae3 (patch) | |
tree | 08cd72dc496da5a6eacf01bf01e9f3b3a3933ca7 /scripts | |
parent | afa852713c072d183c512cac08cc9d62cb9db81b (diff) |
Allow to pass a rev list to send-patches
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/shell/send-patches | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sugar-devel@lists.sugarlabs.org>", "--subject-prefix", "PATCH %s" % get_module(), - "origin"]) + args.rev_list]) |