# patch commands
delete) _stg_patches $command _all_patches ;;
edit) _stg_patches $command _applied_patches ;;
- export) _stg_patches $command _applied_patches ;;
+ export) _stg_patches $command _all_patches ;;
files) _stg_patches $command _all_patches ;;
log) _stg_patches $command _all_patches ;;
mail) _stg_patches $command _all_patches ;;
series = file(os.path.join(dirname, 'series'), 'w+')
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