mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
cloning -> favorite, add earlier
in case the deserialization fails, currently the repo is not added as a favorite
This commit is contained in:
parent
2bcfbe0dc3
commit
968a186a85
|
@ -3,7 +3,7 @@ REPORT zabapgit LINE-SIZE 100.
|
|||
* See http://www.abapgit.org
|
||||
|
||||
CONSTANTS: gc_xml_version TYPE string VALUE 'v1.0.0', "#EC NOTEXT
|
||||
gc_abap_version TYPE string VALUE 'v1.23.5'. "#EC NOTEXT
|
||||
gc_abap_version TYPE string VALUE 'v1.23.6'. "#EC NOTEXT
|
||||
|
||||
********************************************************************************
|
||||
* The MIT License (MIT)
|
||||
|
|
|
@ -62,11 +62,13 @@ CLASS lcl_services_repo IMPLEMENTATION.
|
|||
iv_url = ls_popup-url
|
||||
iv_branch_name = ls_popup-branch_name
|
||||
iv_package = ls_popup-package ).
|
||||
|
||||
toggle_favorite( lo_repo->get_key( ) ).
|
||||
|
||||
lo_repo->status( ). " check for errors
|
||||
lo_repo->deserialize( ).
|
||||
|
||||
lcl_app=>user( )->set_repo_show( lo_repo->get_key( ) ). " Set default repo for user
|
||||
toggle_favorite( lo_repo->get_key( ) ).
|
||||
|
||||
COMMIT WORK.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user