Hi,
we got problems, because in push_changes we don't get new changes.
How to recreate:
- open SE01 and release Task where Report ZTEST is changed -> everything works as accpected (Branch, Commit, Pull Request)
- keep SE01 open and change with different window or in Eclipse the Report ZTEST again
- release new Task -> the method push_changes don't realized the different states
How to fix:
- refresh repo in method push_changes
Like this:
io_repo->select_branch( |refs/heads/{ iv_branch_name }| ).
io_repo->refresh(
* EXPORTING
* iv_drop_cache = ABAP_FALSE
* iv_drop_log = ABAP_TRUE
).
DATA(ls_files) = zcl_abapgit_factory=>get_stage_logic( )->get( io_repo ).
DATA(lt_file_status) = zcl_abapgit_file_status=>status( io_repo ).
P.S. I would have created an Pull Request but i did a lot of custom legacy changes
Hi,
we got problems, because in push_changes we don't get new changes.
How to recreate:
How to fix:
Like this:
P.S. I would have created an Pull Request but i did a lot of custom legacy changes