anchor.diff:          unexpected_error           = 2
           intern_err                 = 3
           no_access                  = 4
  -        object_locked_and_modified = 5
  -    ).
  +        object_locked_and_modified = 5 ).
       IF sy-subrc EQ 0.
         RETURN. "Package already exists. We assume this is fine
       ENDIF.
  
positive.code:     DATA lv_package             TYPE devclass.
      DATA lo_repo_online         TYPE REF TO lcl_repo_online.
      DATA lv_branch_name         TYPE string.
  
      lt_repo = lcl_repo_srv=>list( ).
  
  *    find abapgit and abapgit-plugins-repos and validate bindings
      LOOP AT lt_repo INTO lo_repo.
        TRY.
            lo_repo_online ?= lo_repo.
            lv_url            = lo_repo_online->get_url( ).
            lv_branch_name    = lo_repo_online->get_branch_name( ).
            lv_package        = lo_repo_online->get_package( ).
            IF to_upper( lv_url ) NE to_upper( iv_url ).
              CONTINUE.
            ENDIF.
  
            IF    iv_target_package IS NOT INITIAL
              AND iv_target_package NE lv_package.
              DATA lv_err TYPE string.
              lv_err = |Installation to package { lv_package } detected. Cancelling installation|.
              _raise lv_err.
            ENDIF.
  
negative.code:         invalid_translation_depth  = 18
          wrong_mainpack_value       = 19
          superpackage_invalid       = 20
          error_in_cts_checks        = 21 ).
      IF sy-subrc <> 0.
        lv_err = |Package { iv_package } could not be created|.
        _raise lv_err.
      ENDIF.
  