mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
PROG: Remove inactive sources during uninstall (#4141)
This commit is contained in:
parent
e9e90a4ff1
commit
098682dcbb
|
@ -126,8 +126,10 @@ CLASS ZCL_ABAPGIT_OBJECT_PROG IMPLEMENTATION.
|
||||||
permission_failure = 3
|
permission_failure = 3
|
||||||
reject_deletion = 4
|
reject_deletion = 4
|
||||||
OTHERS = 5.
|
OTHERS = 5.
|
||||||
|
IF sy-subrc = 2.
|
||||||
IF sy-subrc <> 0.
|
" Drop also any inactive code that is left in REPOSRC
|
||||||
|
DELETE REPORT lv_program ##SUBRC_OK.
|
||||||
|
ELSEIF sy-subrc <> 0.
|
||||||
zcx_abapgit_exception=>raise( |Error from RS_DELETE_PROGRAM: { sy-subrc }| ).
|
zcx_abapgit_exception=>raise( |Error from RS_DELETE_PROGRAM: { sy-subrc }| ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user