chiark / gitweb /
Allow export to write unapplied files as well
[stgit] / stgit / commands / export.py
index 913172914feff00911a3415c1c1e6f1b5ab4c6d5..4e5259810f9e5bae592ea66a93f26680ec587b38 100644 (file)
@@ -95,8 +95,9 @@ def func(parser, options, args):
         diff_flags = []
 
     applied = crt_series.get_applied()
+    unapplied = crt_series.get_unapplied()
     if len(args) != 0:
-        patches = parse_patches(args, applied)
+        patches = parse_patches(args, applied + unapplied, len(applied))
     else:
         patches = applied