mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Cancel branch creation if branch already exists (#2854)
This commit is contained in:
parent
f5f9f6dc6a
commit
cb80f78a6e
|
@ -229,6 +229,8 @@ CLASS ZCL_ABAPGIT_GIT_TRANSPORT IMPLEMENTATION.
|
|||
zcx_abapgit_exception=>raise( 'missing necessary objects' ).
|
||||
ELSEIF lv_string CP '*refusing to delete the current branch*'.
|
||||
zcx_abapgit_exception=>raise( 'branch delete not allowed' ).
|
||||
ELSEIF lv_string CP '*cannot lock ref*reference already exists*'.
|
||||
zcx_abapgit_exception=>raise( 'branch already exists' ).
|
||||
ENDIF.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user