anchor.diff:          EXPORTING
             ev_url     TYPE abaptxt255-line
             ev_package TYPE tdevc-devclass
  -          ev_branch  TYPE textl-line,
  -
  -      validate
  -        IMPORTING
  -          iv_package TYPE tdevc-devclass
  -          iv_url     TYPE abaptxt255-line
  -        RAISING
  -          zcx_abapgit_exception.
  +          ev_branch  TYPE textl-line.
   
   ENDCLASS.
   
  
positive.code: 
    ENDMETHOD.
  
  
    METHOD validate.
  
      lcl_url=>name( |{ iv_url }| ).
      lcl_app=>repo_srv( )->validate_package( iv_package ).
  
    ENDMETHOD.
  
  ENDCLASS.
  
negative.code:       lv_finished = abap_true.
  
        TRY.
            lcl_url=>name( |{ iv_url }| ).
            IF iv_freeze_package = abap_false.
              lcl_app=>repo_srv( )->validate_package( iv_package ).
            ENDIF.
          CATCH zcx_abapgit_exception INTO lx_error.
            MESSAGE lx_error->text TYPE 'S' DISPLAY LIKE 'E'.
            " in case of validation errors we display the popup again
  