anchor.diff:  * handle namespaces
         REPLACE ALL OCCURRENCES OF '#' IN ls_item-obj_name WITH '/'.
   
  -      lv_cancel = check_warning( is_item    = ls_item
  -                                 iv_package = io_repo->get_package( ) ).
  +      lv_cancel = warning_package( is_item    = ls_item
  +                                   iv_package = io_repo->get_package( ) ).
         IF lv_cancel = abap_true.
  -        RETURN.
  +        _raise 'cancelled'.
         ENDIF.
   
         CREATE OBJECT lo_files
  
positive.code:       CHANGING ct_tadir TYPE lcl_tadir=>ty_tadir_tt
        RAISING  lcx_exception.
  
      CLASS-METHODS check_warning
        IMPORTING is_item          TYPE ty_item
                  iv_package       TYPE devclass
        RETURNING VALUE(rv_cancel) TYPE abap_bool
  
negative.code: *----------------------------------------------------------------------*
  CLASS lcl_objects IMPLEMENTATION.
  
    METHOD warning_overwrite.
  
      DATA: lv_index    TYPE i,
            lv_answer   TYPE c,
            lv_question TYPE string,
            lt_before   TYPE lcl_persistence_repo=>ty_local_checksum_tt,
            lt_current  TYPE lcl_persistence_repo=>ty_local_checksum_tt.
  
      FIELD-SYMBOLS: <ls_before>  LIKE LINE OF lt_before,
                     <ls_current> LIKE LINE OF lt_current,
                     <ls_result>  LIKE LINE OF ct_results.
  
  
      lt_before = io_repo->get_local_checksums( ).
      lt_current = io_repo->build_local_checksums( ).
  
      LOOP AT ct_results ASSIGNING <ls_result>.
        lv_index = sy-tabix.
  
        READ TABLE lt_before ASSIGNING <ls_before>
          WITH KEY item-obj_type = <ls_result>-obj_type
          item-obj_name = <ls_result>-obj_name.
        IF sy-subrc <> 0.
          CONTINUE.
        ENDIF.
  
        READ TABLE lt_current ASSIGNING <ls_current>
          WITH KEY item-obj_type = <ls_result>-obj_type
          item-obj_name = <ls_result>-obj_name.
        IF sy-subrc <> 0.
          CONTINUE.
        ENDIF.
  
        IF <ls_before>-sha1 <> <ls_current>-sha1.
          lv_question = |It looks like object { <ls_result>-obj_type
            } { <ls_result>-obj_name
            } has been modified locally, overwrite object?|.
  
          CALL FUNCTION 'POPUP_TO_CONFIRM'
            EXPORTING
              titlebar              = 'Warning'
              text_question         = lv_question
              display_cancel_button = abap_false
            IMPORTING
              answer                = lv_answer
            EXCEPTIONS
              text_not_found        = 1
              OTHERS                = 2.
          IF sy-subrc <> 0.
            _raise 'error from POPUP_TO_CONFIRM'.
          ENDIF.
  
          IF lv_answer = '2'.
            DELETE ct_results INDEX lv_index.
          ENDIF.
  
        ENDIF.
  
      ENDLOOP.
  
    ENDMETHOD.
  
    METHOD warning_package.
  
      DATA: lv_question TYPE c LENGTH 200,
            lv_answer   TYPE c,
  