Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
export) _stg_patches $command _applied_patches ;;
files) _stg_patches $command _all_patches ;;
log) _stg_patches $command _all_patches ;;
export) _stg_patches $command _applied_patches ;;
files) _stg_patches $command _all_patches ;;
log) _stg_patches $command _all_patches ;;
- mail) _stg_patches $command _applied_patches ;;
+ mail) _stg_patches $command _all_patches ;;
pick) _stg_patches $command _unapplied_patches ;;
refresh)_stg_patches_options $command _applied_patches "-p --patch" ;;
rename) _stg_patches $command _all_patches ;;
pick) _stg_patches $command _unapplied_patches ;;
refresh)_stg_patches_options $command _applied_patches "-p --patch" ;;
rename) _stg_patches $command _all_patches ;;
if options.all:
patches = applied
elif len(args) >= 1:
if options.all:
patches = applied
elif len(args) >= 1:
- patches = parse_patches(args, applied)
+ unapplied = crt_series.get_unapplied()
+ patches = parse_patches(args, applied + unapplied, len(applied))
else:
raise CmdException, 'Incorrect options. Unknown patches to send'
else:
raise CmdException, 'Incorrect options. Unknown patches to send'