Add a boundary to parse_patches in pick.py
[stgit] / stgit / commands / pick.py
index df4a1fe..c63982b 100644 (file)
@@ -166,7 +166,7 @@ def func(parser, options, args):
     applied = remote_series.get_applied()
     unapplied = remote_series.get_unapplied()
     try:
-        patches = parse_patches(args, applied + unapplied)
+        patches = parse_patches(args, applied + unapplied, len(applied))
         commit_id = None
     except CmdException:
         if len(args) >= 1: