Fix pull errors related to files deleted remotely (#4281)

In case files are deleted remotely, the files are now ignored during a pull. In other words, "pull" will not touch objects that exist only locally and not remotely.

To delete such objects locally, use "reset local (forced pull)" which will show a popup for these objects and let you delete them.

Closes #4277

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Marc Bernard 2020-12-08 11:16:04 -05:00 committed by GitHub
parent 3c598bbf60
commit b31885796d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -670,7 +670,7 @@ CLASS zcl_abapgit_objects IMPLEMENTATION.
it_items = lt_items ).
lo_folder_logic = zcl_abapgit_folder_logic=>get_instance( ).
LOOP AT lt_results ASSIGNING <ls_result>.
LOOP AT lt_results ASSIGNING <ls_result> WHERE rstate <> zif_abapgit_definitions=>c_state-deleted.
li_progress->show( iv_current = sy-tabix
iv_text = |Deserialize { <ls_result>-obj_name }| ).