anchor.diff:      rv_name = ms_data-branch_name.
     ENDMETHOD.                    "get_branch_name
   
  +  METHOD set_url.
  +
  +    mv_initialized = abap_false.
  +    set( iv_url = iv_url ).
  +
  +  ENDMETHOD.
  +
  +  METHOD set_branch_name.
  +
  +    mv_initialized = abap_false.
  +    set( iv_branch_name = iv_branch_name ).
  +
  +  ENDMETHOD.
  +
     METHOD get_sha1_local.
       rv_sha1 = ms_data-sha1.
     ENDMETHOD.                    "get_sha1_local
  
positive.code:     DATA: lo_persistence TYPE REF TO lcl_persistence_repo.
  
  
      ASSERT iv_sha1 IS SUPPLIED OR it_checksums IS SUPPLIED.
  
      CREATE OBJECT lo_persistence.
  
      IF iv_sha1 IS SUPPLIED.
        lo_persistence->update_sha1( iv_key         = ms_data-key
                                     iv_branch_sha1 = iv_sha1 ).
        ms_data-sha1 = iv_sha1.
      ENDIF.
  
  
negative.code: 
    ENDMETHOD.
  
    METHOD update_url.
  
      DATA: lt_content TYPE lcl_persistence_db=>tt_content,
            ls_content LIKE LINE OF lt_content,
            ls_repo    TYPE ty_repo.
  
  
      IF iv_url IS INITIAL.
        _raise 'update, url empty'.
      ENDIF.
  
      ASSERT NOT iv_key IS INITIAL.
  
      TRY.
          ls_repo = read( iv_key ).
        CATCH lcx_not_found.
          _raise 'key not found'.
      ENDTRY.
  
      ls_repo-url = iv_url.
      ls_content-data_str = to_xml( ls_repo ).
  
      mo_db->update( iv_type  = c_type_repo
                     iv_value = iv_key
                     iv_data  = ls_content-data_str ).
  
    ENDMETHOD.
  
    METHOD update_branch_name.
  
      DATA: lt_content TYPE lcl_persistence_db=>tt_content,
            ls_content LIKE LINE OF lt_content,
            ls_repo    TYPE ty_repo.
  
  
      IF iv_branch_name IS INITIAL.
        _raise 'update, branch name empty'.
      ENDIF.
  
      ASSERT NOT iv_key IS INITIAL.
  
      TRY.
          ls_repo = read( iv_key ).
        CATCH lcx_not_found.
          _raise 'key not found'.
      ENDTRY.
  
      ls_repo-branch_name = iv_branch_name.
      ls_content-data_str = to_xml( ls_repo ).
  
      mo_db->update( iv_type  = c_type_repo
                     iv_value = iv_key
                     iv_data  = ls_content-data_str ).
  
    ENDMETHOD.
  
    METHOD update_sha1.
  
      DATA: lt_content TYPE lcl_persistence_db=>tt_content,
  