mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Fix error handling in "Stage by Transport" (#6060)
This commit is contained in:
parent
b4a2a49cb8
commit
13876551d8
|
@ -124,7 +124,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
|
||||
CLASS zcl_abapgit_gui_page_stage IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD build_menu.
|
||||
|
@ -368,6 +368,7 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_STAGE IMPLEMENTATION.
|
|||
ii_obj_filter = mi_obj_filter ).
|
||||
|
||||
IF lines( ms_files-local ) = 0 AND lines( ms_files-remote ) = 0.
|
||||
mo_repo->refresh( ).
|
||||
zcx_abapgit_exception=>raise( 'There are no changes that could be staged' ).
|
||||
ENDIF.
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user